Yes, this is what I have done and it works well.  Since I only need
information from the first volume (RECFM, LRECL, DSORG, etc.) the
combination of TDJCB/X'13' and OBTAIN got me what I needed.

I still need to do OBTAIN before the DD is first opened in the step in
order to get the DSCB info.  Otherwise the JFCB returned by RDJFCB
contains only DSN and DISP for an existing dataset, which was the target
here.

Thanks for the help.

Peter

> -----Original Message-----
> From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On
> Behalf Of David Kreiss
> Sent: Tuesday, October 07, 2008 2:18 PM
> To: [email protected]
> Subject: Re: Determining file attributes *before* OPEN
> 
> If you want all volume serial numbers use RDJFCB along with EXLST
> entry X'13' (EXARL in IHAEXLST) retrieve allocation information
> instead of entry X'07' (EXLRJFCB) and use IHAARL and IHAARA to map the
> ARL and ARA returned (the JFCB is in ARAJFCB).
> 
> Dave Kreiss


This message and any attachments are intended only for the use of the addressee 
and
may contain information that is privileged and confidential. If the reader of 
the 
message is not the intended recipient or an authorized representative of the
intended recipient, you are hereby notified that any dissemination of this
communication is strictly prohibited. If you have received this communication in
error, please notify us immediately by e-mail and delete the message and any
attachments from your system.


----------------------------------------------------------------------
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