Saturday, 10 August 2013

JCL Spanned Records

Spanned records get around the system limitation that block cannot be larger than 32,760 bytes. With spanned records, one record spans two or more blocks. Spanned records must be variable length, blocked or unblocked: RECFM=VS OR VBS.
For QSAM, code LRECL=X to indicate a record length greater than 32,760 bytes.
RECFM=VS,LRECL=X OR RECFM=VBS,LRECL=X
Example :
//OUT DD DCB=(RECFM=VBS,LRECL=X),........

Do not use DISP=MOD with spanned records becuse it can result in the system embedding short block in the data set.


Created with Artisteer

No comments:

Post a Comment

New In-feed ads