×
The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.
Add the program you need to run as an autostart job. Basically you
create a job description usually with the same name as the program,
where the parameters have a user profile (most use qpgmr) and the
rqsdta has a program call in it. An example (not tested) :
CRTJOBD JOBD(QGPL/MYAUTOSTR)
USER(QPGMR)
RQSDTA('call mylib/mypgm')
Now add the autostart job to the subsystem:
ADDAJE SBSD(MYSBS)
JOB(MYAUTOSTR)
JOBD(QGPL/MYAUTOSTR)
Now when the subsystem starts, the autostart job will run and call your
program.
Jim Oberholtzer
CEO/Chief Technical Architect
Agile Technology Architects, LLC
On 2/2/2011 7:58 AM, Jason Abreu wrote:
Is there a way to call a program when a subsystem is started?
For instance, I have installed Tomcat and created a subsystem for it. I
wrote a CL program to start the Tomcat server, but I would like for that
CL to be executed when the STRSBS TOMCAT command is executed.
Thanks!
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact
[javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.