On 15 May 2009 09:32:23 -0700, in bit.listserv.ibm-main you wrote:

>Perhaps this explains the observed action?
>
>http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/IGY3LR31/5.2.4
>
><quote>
>BLOCK CONTAINS
>    0 can be specified for QSAM files. If BLOCK CONTAINS 0 is specified for a 
> QSAM file, then:
>
>        * The block size is determined at run time from the DD parameters or 
> the data set label. If the RECORD CONTAINS 0 CHARACTERS clause is specified 
> and the BLOCK CONTAINS 0 CHARACTERS clause is specified (or omitted), the 
> block size is determined at run time from the DD parameters or the data set 
> label of the file. For output data sets, with either of the above conditions, 
> the DCB used by Language Environment will have a zero block size value. If 
> you do not specify a block size value, the operating system might select a 
> system-determined block size (SDB). See the operating system specifications 
> for further information about SDB. 
></quote>

I checked the reference you gave and for QSAM files, if the BLOCK
CONTAINS clause is omitted, BLOCK 1 RECORD is assumed.  This stupidity
has aggravated me for years.

----------------------------------------------------------------------
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

Reply via email to