Yes. It's easier in assembler, where4 you can use SWAREQ to deal with the tokens. If you do it in REXX then you need separate paths for SWA below the line, old format SWA above the line and new format SWA above the line.
-- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 ________________________________________ From: IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU> on behalf of David Crayford <dcrayf...@gmail.com> Sent: Monday, November 4, 2019 9:28 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: WTO message at the end of JCL On 2019-11-05 8:52 AM, Charles Mills wrote: > I was referring to a program running as a jobstep retrieving condition codes > for its own job. Is there an MVS service or control block chain that readily > gives that information? IIRC, the SCT (Step Control Table) has this information and the SCT extension block contains ABEND information. ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN