Solved

iSeries - Submit Program from IFS

Posted on 2014-03-24
1
550 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 35

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

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Cassandra Backup with EBS 2 202
PDF TO PCL format conversion on AS400 - infoprint server 4 89
iSeries PERL Scripts 7 172
iSeries, AS/400 GUI 9 153
If you are looking at this article, you have most likely been hit by some version of ransomware and are trying to find out if there is anything you can do, or what way you should react - READ ON!
The advancement in technology has been a great source of betterment and empowerment for the human race, Nevertheless, this is not to say that technology doesn’t have any problems. We are bombarded with constant distractions, whether as an overload o…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

839 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