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

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On
Behalf Of (IBM Mainframe Discussion List)
Sent: Tuesday, October 07, 2008 11:06 AM
To: [email protected]
Subject: Re: Determining file attributes *before* OPEN

 
 
In a message dated 10/7/2008 12:02:05 P.M. Central Daylight Time,
[EMAIL PROTECTED] writes:

Thanks,  but LOCATE/CAMLST only returns a volume list, not  D(S)CB
attributes.

I can get the first few volumes from RDJFCB as  well, along with the
DSN,
and that's enough info to use OBTAIN (which I  missed the first time
around) to get the DSCB.

Get the DSN from the RDJFCB.  Then get the volsers from either the
RDJFCB or the data returned via LOCATE.  Plug each volser into the
CAMLST  that you use with OBTAIN, then do the OBTAIN to read the DSCB
for each  volume.  Or use the volser from the RDJFCB data.  The only
difference  is which source (LOCATE or RDJFCB) will give you the
complete volser list, if  either.

 
Bill  Fairchild
Rocket Software
**************New MapQuest Local shows what's happening at your
destination.  Dining, Movies, Events, News & more. Try it out
(http://local.mapquest.com/?ncid=emlcntnew00000002)

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

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