|
Is the part below why I get a bunch of spooled files when I run an
expect script? (Despite your numerous emails telling me not to do it
this way ;) )
First time using expect on i, so of course I just copied my previous
setup. Good time for me to improve and follow your recommendations.
Specifically, today is using Qp2RunPase from RPGLE rather than
QP2SHELL from CL, but your warnings applied to that previously.
--
Sean Porterfield
-----Original Message-----
From: Scott Klement
Sent: Monday, November 19, 2012 16:08
To: Midrange Systems Technical Discussion
Subject: Re: CALL QP2SHELL variables
Having said that -- I strongly discourage you from using QP2SHELL this way. QP2SHELL does not create proper stdio descriptors (stdin, stdout,
stderr) but rather uses whatever the calling job has set up. In this environment, that's either "nothing", or "the ILE C ones". Neither of these are threadsafe.
This email is confidential, intended only for the named recipient(s) above and may contain information that is privileged. If you have received this message in error or are not the named recipient(s), please notify the sender immediately and delete this email message from your computer as any and all unauthorized distribution or use of this message is strictly prohibited. Thank you.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.