Thanks John. Somehow I missed OBTAIN when I was browsing that manual. RDJFCB with an X'13' EXLST entry will return the first few volume serial numbers assigned to the dataset, so RDJFCB and OBTAIN would seem to be the way to go.
> -----Original Message----- > From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On > Behalf Of John McKown > Sent: Tuesday, October 07, 2008 12:24 PM > To: [email protected] > Subject: Re: Determining file attributes *before* OPEN > > Look at the OBTAIN macro for DASD resident datasets. > > http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/DGT2S341/1.3. 2 > > You'll need to get the volser that the dataset is on. If you simply have a > DD, the RDJFCB will get the DSN. You'd then need to do a catalog lookup to > find the volser. I'd use the newest IGGCSI00 interface to do that instead > of the old way (which I can't even remember what it is called - LOCATE?) 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

