Multiple choice technology mainframe

When we specify V for RECFM parameter, what should we mention for the value of LRECL parameter

  1. Largest record size in the file

  2. Average record size in the file

  3. Largest record size in the file plus 4 bytes

  4. Largest record size in the file plus 2 bytes

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

For variable-length records (RECFM=V), each record includes a 4-byte Record Descriptor Word (RDW) at the beginning that contains the record length. Therefore, LRECL must be specified as the largest record size plus 4 bytes to accommodate this RDW. Option D is incorrect because it only accounts for 2 bytes.