Datalength
Datalength specifies the maximum number of bytes to be read. The value must be less than or equal to the size of buffer in bytes.
To avoid a truncation warning, datalength must be specified,
for fixed-length records, as the product of the number of records
to be read and the logical record length (lrecl):
- datalength=records x lrecl
For variable-length records, the datalength is equal to the maximum
logical record length, or
- datalength = 1 x lrecl