Solved

iSeries - Submit Program from IFS

Posted on 2014-03-24
1
535 Views
Last Modified: 2016-02-10
We are running Redis on our iSeries.  To start Redis, I have to do the following:

CALL QP2TERM
CD /QOPENSYS
/opt/freeware/sbin/redis-server  

When I do this, this starts the redis-server job in the QINTER subystem running under my user profile.

Does anyone know how I could write a CL to start this application under a specified subsystem using a specified user profile?

Thanks in advance
0
Comment
Question by:Matthew Roessner
1 Comment
 
LVL 34

Accepted Solution

by:
Gary Patterson earned 500 total points
ID: 39950583
http://www-01.ibm.com/support/docview.wss?uid=nas8N1011231

QSH CMD('/QOpenSys/usr/bin/sh -c "/QOpenSys/opt/freeware/sbin/redis-server"')
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
conversion of SQL server data to mongodb 5 191
OPNQRYF with numeric fields 4 231
MongoDB query based on timestamp 1 38
Secure coding guides/standards for Cobol programming 10 254
What does UTC stand for?  “Coordinated Universal Time” – Think of this as the true time on Planet Earth that never changes with the exception of minor leap seconds here and there to account for the changes in the planet's rotation.   What does th…
A customer recently asked me about anti-malware and the different deployment options available for his business. Daily news about cyberattacks, zero-day vulnerabilities, and companies that suffered a security breach made him wonder if the endpoint a…
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…
Hi friends,  in this video  I'll show you how new windows 10 user can learn the using of windows 10. Thank you.

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now