Multiple choice technology mainframe

Which control statement is used for reformatting the records that are sorted using SORT function?

  1. SORTOUT

  2. OUTREC

  3. DFSORT

  4. AFTER

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

OUTREC is the control statement used in IBM's DFSORT (and SyncSORT) to reformat sorted records. It allows you to restructure fields, change positions, add constants, or modify the record layout after sorting. SORTOUT specifies the output dataset name, not formatting. DFSORT is the product name, and AFTER_RECORDS is a different control statement.