> -----Original Message-----
> From: IBM Mainframe Discussion List 
> [mailto:[EMAIL PROTECTED] On Behalf Of Michael Knigge
> Sent: Wednesday, August 29, 2007 11:46 AM
> To: [email protected]
> Subject: Getting LRECL and RECFM of a dataset
> 
> 
> All,
> 
> 
> is there a way to get the LRECL and RECFM (and maybe other 
> attributes) 
> of a dataset without opening it?
> 
> I use the Catalog Search Interface to get a list of Datasets 
> and the CSI 
> can return me some attributes (like VOLUME and DEVICE), but 
> to get the 
> RECFM I have to open the dataset and use the fldata() 
> function of the C 
> Library to get the RECFM and other attributes.
> 
> I wonder if there is a cheaper method - in C would be great, 
> but ASM is 
> also ok....
> 
> 
> Thank you,
> Michael

The OBTAIN macro can do that. (HLASM).

Ref:
http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/dgt2s341/1.3.
2

The more advanced macros are the CVAFxxx macros:

Ref:
http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/dgt2s341/1.4

--
John McKown
Senior Systems Programmer
HealthMarkets
Keeping the Promise of Affordable Coverage
Administrative Services Group
Information Technology

The information contained in this e-mail message may be privileged
and/or confidential.  It is for intended addressee(s) only.  If you are
not the intended recipient, you are hereby notified that any disclosure,
reproduction, distribution or other use of this communication is
strictly prohibited and could, in certain circumstances, be a criminal
offense.  If you have received this e-mail in error, please notify the
sender by reply and delete this message without copying or disclosing
it.

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