>One might wonder why it matters.  I suppose it might.  Does the OP also want 
>to distinguish the cases of:
Don’t care about UNIX.
Yes, it is in some of my assembler programs.
I have a bunch of PDS utility batch programs that have worked fine for PDS.
But for PDSe not so much.
On a PDS...reading the directory...a use MACRF=R,RECFM=U....works great.
On a PDSE...reading the directory....it looks like I need MACRF=R,RECFM=FB.

We have both PDS's and PDSe's everywhere.

So, I would like to Open the DD, then determine what type of PDS it is, then 
process file.
I may have to close, change DCB field and re-open.
Or determine what type of PDS a file is before opening it...if that's possible.

Tom  


------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions, send email to 
lists...@listserv.ua.edu with the message: INFO IBM-MAIN

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to