|
On May 29, 2021, at 5:15 AM, Marc Rauzier <marc.rauzier@xxxxxxxxx> wrote:
Le 29/05/2021 à 11:37, Patrik Schindler a écrit :
Would it be possible to add a wrapper or even the daemon program itself to the autostart list of a SBS? Sorry for the maybe dumb question. I'm fluent in Linux/Unix, and I'm halfways good in administering OS/400. But my skills how PASE and the CL environment work together are almost zero.
You can create a job with the QSH command in the RQSDTA parameter and the appropriate user profile in the USER parameter. Then add an autostart job entry to the subsystem of your choice with the job name you want and pointing to the job description you created.
Beware that the RQSDTA parameter accepts string value. You may want to test the command to use, copy it and paste it enclosed with quotes in RQSDTA. Something like
RQSDTA('STRQSH CMD(''cd theappropriatedirectory ; shellcommandtostartthedaemon'')')
(not sure about the number of quotes around the shell command ; this is the reason why it must be tested
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/midrange-l.
Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related questions.
Help support midrange.com by shopping at amazon.com with our affiliate link: https://amazon.midrange.com
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.