Good point. Thanks. The code in question is unlikely to run as an SRB, but anything is possible in the future.
Charles -----Original Message----- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Peter Hunkeler Sent: Wednesday, January 10, 2018 11:15 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: C code to get running job name. > Why not psatold to TCB, tcbtio to TIOT, then tiocnjob? Not that I would think this is likely to occur, but if such C code happened to be run as SRB, PSATOLD would be zero. Accessing these fields via PSAAOLD will still work. -- Peter Hunkeler ---------------------------------------------------------------------- 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