Multiple choice technology mainframe

How is the record format of an output dataset specified

  1. RECORG parameter

  2. STORCLAS parameter

  3. RECFM parameter

  4. None of the above

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

The RECFM (Record Format) parameter in JCL specifies the format of records in an output dataset. It defines whether records are fixed-length, variable-length, or undefined, and is the correct parameter for this purpose.

AI explanation

To specify the record format of an output dataset, you would use the RECFM (Record Format) parameter.

Option A) RECORG parameter - The RECORG parameter is used to specify the record organization of a dataset, such as sequential or indexed. It is not used to specify the record format.

Option B) STORCLAS parameter - The STORCLAS parameter is used to specify the storage class for a dataset, which determines its allocation attributes. It is not used to specify the record format.

Option C) RECFM parameter - The RECFM parameter is used to specify the record format of a dataset. It determines how records are structured, such as fixed or variable length, and whether they contain blocked or unblocked data.

Option D) None of the above - This option is incorrect because the correct answer is option C, the RECFM parameter.

Therefore, the correct answer is option C) RECFM parameter.