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

--
John McKown

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