"Code DINRTORG to request the return of the data set organization (DSORG) of the specified resource."

"Code DINRTMEM to request the return of the member name associated with the specified allocation."

By getting this information *before* OPEN you should be able to set up your DCB appropriately.


From: Paul Gilmartin <[EMAIL PROTECTED]>
Reply-To: IBM Mainframe Discussion List <IBM-MAIN@BAMA.UA.EDU>
To: IBM-MAIN@BAMA.UA.EDU
Subject: Re: Reading Variable record with bad BDW/RDW?
Date: Mon, 24 Apr 2006 14:20:55 -0600

In a recent note, Thomas David Rivers said:

> Date:         Mon, 24 Apr 2006 16:11:15 -0400
>
>   Someone else suggested using DYNALLOC to query the organization
>   of the file before the OPEN... is there a way to accomplish
>   this after the OPEN?
>
I would expect DYNALLOC IR to work equally well after OPEN as
before.  But you must do it before attempting to process any
record.

But, what does DYNALLOC IR indicate if DDNAME identifies a
properly allocated _member_ of a PDS with RECFM=VB, etc.?

-- gil
--
StorageTek
INFORMATION made POWERFUL

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

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today - it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/

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