You can chase control blocks in SWA or you can read the JCL dataset as a 
subsystem dataset.


--
Shmuel (Seymour J.) Metz
http://mason.gmu.edu/~smetz3

________________________________________
From: IBM Mainframe Discussion List <[email protected]> on behalf of 
David Cameron <[email protected]>
Sent: Tuesday, April 9, 2019 8:23 AM
To: [email protected]
Subject: Retrieve Job JCL

Hi All,

is there a way to retrieve the job (or step) JCL from a program running in
that step ?

it appears there are some JES2 HDBs that contain the JCL statements in high
private storage

Thanks,
David Cameron

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to