In a recent note, Bruce Black said:

> Date:         Wed, 24 Jan 2007 17:25:14 -0500
> 
> Sorry, Gil, you are wrong.  As long as DSORG=, RECFM= and LRECL= are
> specified, SDB does calculate a blocksize at allocation time.  I just
> ran your test to prove it.
> 
I'll readily stand corrected.  Thanks for the enlightenment.
"[my] test"?  Did I supply a test?  Or did you code one from my
sketchy description.

> But it sets a flag in the DSCB indicating that the blocksize came from
> SDB.  At OPEN time, if the LRECL changes, SDB recalculates the blocksize.
> 
> But if SDB was not used at allocation time then it will NOT operate at
> OPEN time, so it is never "deferred".
> 
OK.  Let me try to guess what else must happen:

o The first time the data set is opened for output, the DCB OPEN
  exit is entered with BLKSIZE reset to 0, so the DCB OPEN exit can
  operate compatibly with pre-SDB facility.

o Once open is complete, the flag in the DSCB is reset, so the
  BLKSIZE is stable.

Now you have an opportunity to correct me again.  I suppose the
alternative is possible -- BLKSIZE set by SDB at allocation time
is passed to the DCB exit which is thereby discouraged from
overriding it.

Thanks,
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
  • Re: BLKSIZE=0 Paul Gilmartin

Reply via email to