|
I developed the habit years ago of calling QUSRJOBI and checking the"User
return code" to see if things finished correctly. However, thebe
documentation on QUSRJOBI states:
N/A; do not use: Thread safety is not applicable (N/A). The user return
code field is the most recent return code set by any thread within the
job. Many operating system functions run C code and change the value of
the user return code. Changes to this field occur at times that cannot
predicted or controlled by user programming, even when the job ispretty
single-threaded. To receive a value returned by a called program, it is
better to provide a parameter to receive that value than to rely on this
job-scoped user return code field.
Returning a parameter from PASE isn't really available. I've never had a
problem with the "User return code", but the documentation above is
emphatic that I'm doing the wrong thing. Does anybody know of another
method to return the completion status of a script in PASE?
Thanks,
Michael Quigley
Computer Services
The Way International
www.TheWay.org
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.