On Tue, 4 Sep 2007 13:46:33 -0500, McKown, John wrote:

>I have a JES2 exit 20 on z/OS 1.6. What is does is look at the
>submitting user and set a job selection priority for certain jobs, but
>only if submitted by CA7. It does this by chaining from the DCT to the
>ASCB and checking the STC name. This doesn't work on 1.8 because the DCT
>not longer contains a pointer to the "owning" ASCB. However, it appears
>that the XPL points to a new control block called the JRW. This control
>block contains a field called the JRWSJNAM. However, I don't really know
>that this is the jobname of the job(stc) which owns the DCT. Does
>anybody out there know if this field contains the owner or not?
 
Look at JES2 exit 50 instead of exit 20 for your purpose.  (50 is used when the 
input source is the internal reader.)  JRWSJNAM looks good in that context 
(although you might also just be able to jump to the ASCB directly from 
PSAAOLD in the exit 50 environment's case).  
 
-- 
Tom Schmidt 
Madison, WI

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to