The DCB has different layouts for different DSORGs;
hence the reason that it is required. If you clear
the DSORG before OPEN, there may not be sufficient
information for OPEN to work with. (I didn't try this.)
From: Richard Tsujimoto <[EMAIL PROTECTED]>
Reply-To: IBM Mainframe Discussion List <[email protected]>
To: [email protected]
Subject: Re: Reading Variable record with bad BDW/RDW?
Date: Tue, 25 Apr 2006 09:27:57 -0400
You could simply code the DCB with DSORG, and at run-time, reinitialize
the DSORG field. Why would you want to hand-craft a control block?
Gerhard Postpischil <[EMAIL PROTECTED]>
Sent by: IBM Mainframe Discussion List <[email protected]>
04/25/2006 08:58 AM
Please respond to
IBM Mainframe Discussion List <[email protected]>
To
[email protected]
cc
Subject
Re: Reading Variable record with bad BDW/RDW?
Binyamin Dissen wrote:
> :>>OPEN will not set DCBDSORG.
> :>If it's 0?
> No such thing. DCB macro requires it.
> It and the MACRF are required to properly build the DCB and to get the
correct
> access methods loaded.
Just to be a bit pedantic, he could build his own DCB without using the
macro. In the past I've committed a few programs that build their own
control blocks, e.g., DCB/DEB/IOB combinations. Would be interesting to
try this without a DSORG.
Gerhard Postpischil
Bradford, VT
----------------------------------------------------------------------
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
----------------------------------------------------------------------
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