On Mon, 24 Apr 2006 15:42:53 -0400 Thomas David Rivers <[EMAIL PROTECTED]> wrote:
:> That would work.. the program could avoid even trying the OPEN. Get the JFCB, use it (DSNAME + VOLUME) to read the DSCB. The DSCB will indicate whether it is a PDS and what its recorded RECFM and LRECL are. The JFCB will indicate whether a member name was specified. :> 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. The DSCB or JFCB never override a DCB value. OPEN will not set DCBDSORG. :>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? -- Binyamin Dissen <[EMAIL PROTECTED]> http://www.dissensoftware.com Director, Dissen Software, Bar & Grill - Israel Should you use the mailblocks package and expect a response from me, you should preauthorize the dissensoftware.com domain. I very rarely bother responding to challenge/response systems, especially those from irresponsible companies. ---------------------------------------------------------------------- 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