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 <IBM-MAIN@BAMA.UA.EDU> 04/25/2006 08:58 AM Please respond to IBM Mainframe Discussion List <IBM-MAIN@BAMA.UA.EDU> To IBM-MAIN@BAMA.UA.EDU 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