Multiple choice technology mainframe

The parameter LINESIZE used with the REPORT statement should have the length

  1. Equal to lrecl of the file

  2. Greater than lrecl of the file

  3. Equal to lrecl – 1

  4. Equal to lrecl + 1

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

In report generation, LINESIZE specifies the output line width. Setting it to lrecl - 1 accounts for the carriage control character or other overhead in the record format. This prevents output truncation and ensures proper alignment within the file's record constraints.