Re: return() and retain job log
Patrik Schindler <[email protected]> Thu, 1 Jan 2026 15:41:31 +0100
| Newsgroups | gmane.comp.lang.as400.c |
|---|---|
| Message-ID | <[email protected]> |
Hello Robert, images aren't passed through the list. Am 31.12.2025 um 03:30 schrieb rob-VGj5NKMg/[email protected]: > To cause the system to consider a job has "aborted", and thus produce a joblog spool file, the job must send an *ESCAPE type message with a severity *GE to the End severity on the *JOBD used to submit that job (Img-1). Thanks. So the C style return value aren't honored. > Note: The escape msg must be sent to the subsystem routing PGM, usually QCMD. (see Img-2) If you have a "non-standard" *SBSD with your own routing PGM, then you will have to see how that considers a job to have aborted. Thanks for the hint. The send pgm message API hat a lot of options, and I have not yet achieved a comfortable level of understanding about messages. But I'll try. :wq! PoC -- This is the Bare Metal Programming IBM i (AS/400 and iSeries) (C400-L) mailing list To post a message email: [email protected] To subscribe, unsubscribe, or change list options, visit: https://lists.midrange.com/mailman/listinfo/c400-l or email: [email protected] Before posting, please take a moment to review the archives at https://archive.midrange.com/c400-l.