How is BLOCK0 used in Easytrieve?
search cancel

How is BLOCK0 used in Easytrieve?

book

Article ID: 13585

calendar_today

Updated On:

Products

Easytrieve Report Generator PAN/SQL

Issue/Introduction

Easytrieve Options File setting of BLOCK0... how is this parameter BLOCK0 used in Easytrieve?

 how BLOCK0 is used in Easytrieve?

Environment

Easytrieve Report Generator, release 11.6

Resolution

To take advantage of the system determined block size, if turned on, using  

the DCB information on the DD statement in JCL, BLKSIZE=0 must be specified.

So this would look like                                                     

//            DCB=(RECFM=FB,LRECL=2400,BLKSIZE=0)                           

The BLOCK0 setting determines what should happen if BLKSIZE=0 is specified.  

 

                                        

Additional Information

Without having any DCB information specified for the PRINTER file, neither 

in JCL nor on the FILE <file name> PRINTER statement,                      

BLOCK0 N  and  BLOCK0 D cause single record blocked (LRECL=BLKSIZE) files  

on disk.                                                                   

BLOCK0 A  and  BLOCK0 P will result in a system determined maximum block size,

however, this feature must be on in that environment.