× 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.



Bryan,

Do you have any examples of updating a data area from PASE? I think I've
heard of/read about it, but I'm drawing a blank at this point.

Michael Quigley
Computer Services
The Way International
www.TheWay.org



From: Bryan Dietz <bdietz400@xxxxxxxxx>
To: MichaelQuigley@xxxxxxxxxx
Date: 06/30/2017 02:19 PM
Subject: Re: Checking return status from PASE



you could update a data area or a user space

Bryan

MichaelQuigley@xxxxxxxxxx wrote on 6/30/2017 11:19 AM:
I developed the habit years ago of calling QUSRJOBI and checking the
"User
return code" to see if things finished correctly. However, the
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
be
predicted or controlled by user programming, even when the job is
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
pretty
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 thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.