🎴 Flashcard Mode

JCL and JSP Programming Fundamentals

Card1 / 20
Mastered0
Review0
QuestionClick to flip

What should be the record length for a variable length file?

AnswerClick to flip back
A
It should be equal to four plus the record length for variable length records
💡 Explanation:

Variable-length records in mainframe file systems require a 4-byte Record Descriptor Word (RDW) at the beginning that stores the actual record length. Therefore, the total record length equals 4 bytes plus the data record length. Option A is incorrect because it omits the RDW. Option C incorrectly suggests a multiple of 4. Option D is nonsensical without a base value.

Change Mode