On Thu, 17 Jul 2014 16:04:20 -0400, Thomas David Rivers wrote: > >I put zeros into the DCB before the OPEN; then I do the OPEN... expecting >the DCB to have the DCBBLKSI field set to the block size... > >But - it remains zero. > >The JCL (well, an SVC 99 actually) doesn't specify a BLKSIZE for the file. > >But - the file is catalogued, I would have expected the DCBBLKSI field >to get the BLOCK SIZE from the catalog? > Would that be in the catalog or in the VTOC?
>Does anyone know why the DCBBLKSI field would not be filled in ? > What does ISPF DSLIST INFO show you? What created the data set? What is DSORG? >The example code for determining the # of bytes read (from IBM's doc) >determines the blksize after the READ (+CHECK) macros are issued. >Is it possible that the blksize for a RECFM=U cannot be determined at >OPEN time, but only after a READ? > That sounds strange. If you omitted or specified BLKSIZE=0, I believe it will be filled in by an OPEN for write, but not for READ. -- gil ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
