On Mon, 27 Feb 2012 10:20:34 -0600, McKown, John wrote:

>I was trying to write up a way to do something like that: fetching the sysout 
>from the currently running job into a disk dataset in a later step. But ran 
>into a problem in trying to find an IBM-supplied way to get the running job's 
>JES job number. 
>
Hmmm...

Allocate a temporary data set.  Use BPXWDYN( 'info dd(...) inrtdsn(X)' )
and PARSE the job name out of X?

How many Rube Goldbergs in a day am I allowed?

-- gil

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

Reply via email to