Michael Knigge wrote:

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

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

In PL/I, the FILEDDWORD BUILTIN function can return both of these.

Walter Rue

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