On 6/27/2010 5:35 PM, Kirk Wolf wrote:
If you allocate a DD to a PDS member and then OPEN it (using BSAM), is there
a way to get the TTR of the first block of the member after open?

Sure, I could read the first block, then do a NOTE, and then POINT back, but
what if it is open for WRITE or if it is empty....

Normally I use a BPAM DCB and POINT to make sure the member
exists, rather than risking an abend, but the information should
be in the DCB (there is a CCHHR field in the device dependent
section that should point at the first block, or an EOF if it's
empty).

Gerhard Postpischil
Bradford, VT

Reply via email to