On Tue, 9 Apr 2019 08:23:24 -0400, David Cameron wrote:
>
>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
> 
I've done it using the Rexx interface to SDSF.  Surprisingly, the tricky part
was for the job to find its own job ID.  I used an ISPF facility for that.

Interesting.  It showed all spool data sets, even the Rexx trace log up to
the very instruction that fetched itself.

-- gil

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

Reply via email to