Could this be the solution? The three types of symbols that can be used for JES2 in-stream substitution are JCL Symbols, JES Symbols and System Symbols:
On a JES2 JOBCLASS definition, the field SYSSYM needs to be ALLOW rather than DISALLOW //Lasse -----Ursprungligt meddelande----- Från: IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU> För Gadi Ben-Avi Skickat: den 29 december 2021 15:03 Till: IBM-MAIN@LISTSERV.UA.EDU Ämne: Using the JOBNAME system symbol in a batch job Hi, How do I use the JOBNAME system symbol in a batch job and have it resolve to the JOBNAME? Currently, every time I try, it resolved to JES2. We are running z/OS v2.4. Thanks Gadi ---------------------------------------------------------------------- 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