Correct LRECL for SEQFILES in Files Data Set UNLOAD

Document ID : KB000012744
Last Modified Date : 14/02/2018
Show Technical Document Details
Question:

What is the correct LRECL for the SEQFILES output in a Files Data Set UNLOAD ?

Answer:

The LRECL value is overridden at open time and is no longer needed in the JCL. 

Additional Information:

So the DCB for the SEQFILES may look like - 

// DCB=(BLKSIZE=5900,DSORG=PS,RECFM=VB), 

But you can also remove the complete DCB statement, the result will be the same: 

Organization . . . : PS 

Record format . . . : VB 

Record length . . . : 316 

Block size . . . . : 5900 

 

You can override the BLKSIZE and set for example - 

// DCB=(BLKSIZE=0,DSORG=PS,RECFM=VB), 

This will result in: 

Organization . . . : PS 

Record format . . . : VB 

Record length . . . : 316 

Block size . . . . : 27998