Page 1 of 1

INVALID BLOCK SIZE

PostPosted: Thu Mar 05, 2009 5:01 pm
by chetan_007
Hello Friends,

Why does the load datasets will have block size as zero and if we try to open it will display message as INVALID BLOCK SIZE.
Any idea why we get invalid block size when opening some of the datasets.

Thanks

Re: INVALID BLOCK SIZE

PostPosted: Thu Mar 05, 2009 6:52 pm
by swd
Hi - it might be useful if you tell us how these datasets were created, perhaps show us the JCL that created them. From what you say it sounds like some DCB information was missing when these datasets were created and perhaps they are empty? It sounds like z/os doesn't know what blocksize to allocate because it doesn't know the record length, or the DSORG information.

Re: INVALID BLOCK SIZE

PostPosted: Fri Mar 06, 2009 12:44 am
by dick scherrer
Hello,

Why does the load datasets will have block size as zero
Load library datasets are not like other datasets. I suspect it is the record length is zero rather than the block size. . . :?:

If you look at the Data Set Information in tso/ispf 3.4 it should look something like:
Organization  . . . : PO     
Record format . . . : U       
Record length . . . : 0       
Block size  . . . . : 32760   

If this is not your issue, please post the requested info.