Re: Determining file attributes *before* OPEN



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:IBM-MAIN@xxxxxxxxxxx] On
Behalf Of John McKown
Sent: Tuesday, October 07, 2008 12:24 PM
To: IBM-MAIN@xxxxxxxxxxx
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 listserv@xxxxxxxxxxx with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

.



Relevant Pages

  • RE: XFree86 Font Information File Buffer Overflow
    ... XFree86 Font Information File Buffer Overflow ... John Barnes ... are not the intended recipient, you are hereby notified that any use, ... If you have received this communication in error, ...
    (FreeBSD-Security)
  • Re: Language Enviroment HLASM question.
    ... Behalf Of McKown, John ... message is not the intended recipient or an authorized representative of the ... communication is strictly prohibited. ... attachments from your system. ...
    (bit.listserv.ibm-main)
  • SUMMARY: sendmail routing
    ... then have that server send it to the corporate mail server. ... >john - another server in building one. ... This communication is intended for the use of the recipient to which it is addressed, and may contain confidential, personal and or privileged information. ... Please contact us immediately if you are not the intended recipient of this communication, and do not copy, distribute, or take action relying on it. ...
    (SunManagers)
  • Re: SBS VPN using Dynamic Address
    ... >> Law Offices of John H. Rittley, ... >> entities other than the intended recipient is prohibited. ... >> By sending and receiving email, ...
    (microsoft.public.windows.server.sbs)
  • Re: on display LED - 40A00000
    ... --Justin Richard Bleistein ... AIX/TSM/Oracle Database Systems Administrator ... Mills, John T ... information by persons or entities other than the intended recipient is ...
    (AIX-L)