Hi Binyamin!
That would work.. the program could avoid even trying the OPEN.
In this case, the OPEN succeeds... and then the subsequent READ (BSAM)
gets some bytes, but they aren't valid...
I tried looking at DCBDSORG after the OPEN, but it has the value
DCBDSGPS (Physical Sequential), since PS was specified at OPEN time.
- Thanks! -
- Dave Rivers -
Binyamin Dissen wrote:
It is not clear what your question is.
Are you asking if there is a way to determine if a DD statement is pointing to
a PDS without a member name specified?
--
[EMAIL PROTECTED] Work: (919) 676-0847
Get your mainframe programming tools at http://www.dignus.com
----------------------------------------------------------------------
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