|
I would not recommend using QP2SHELL for this unless you plan to go
through the effort of calling spawn() and pipe() to set up your own stdio
descriptors.
Otherwise, QP2SHELL will fall back to the ILE descriptors in the same job,
which are not threadsafe, and this can result in very strange and
unexpected errors.
That's why you normally see people use QSH for this.. because QShell does
the work of setting up the descriptors for you.
On 6/5/2015 9:53 AM, Matt Lavinder wrote:
I am trying to create prestart job entries for QP2SHELL for some PHPThis is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
scripts to use. I have seen how to do it for QSHELL, but not for
QP2SHELL. I have always used QP2SHELL to run my scripts and I am not sure
what impact switching to QSHELL would have. I'd rather stick with what
works.
There seems to be examples for how to add prestart jobs for QSHELL, but
for QP2SHELL and PASE, I have not seen good examples. Does anyone know
what the entry needs to look like?
--
*Matt Lavinder *
--
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.
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.