On 2/28/18, 8:02 PM, Roger Harman wrote:
Uh... ENDJOB comes to mind.

Yes, and Larry brought it to my attention off-List. And as I told him, I can't recall ever using it that way. I think I've occasionally used it as a fallback for jobs that failed to terminate when asked politely to do so (e.g., a Tomcat server that ignored a shutdown signal).

It works, and if the job is ending itself, it apparently doesn't need JOBCTL authority to do so, because I was able to run my test CL program suite (test1 calling test2 calling test3, which does an ENDJOB *IMMED) just fine from an account that had a class of PGMR, but no special authorities, and so presumably no JOBCTL, at least according to
<https://www.ibm.com/support/knowledgecenter/en/ssw_ibm_i_72/rzarl/rzarlusrcls.htm>

Funny thing: last night, I could have sworn that it was leaving an abend message in the QSYSOPR message queue, but this morning, it definitely is not.

--
JHHL

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.