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

In DFSORT and similar sort utilities, the OUTREC control statement is used to reformat records after sorting. It allows you to restructure, rearrange, or edit fields in the sorted output. SORTOUT is just the output dataset name, DFSMS is the storage management system, and AFTER is not a valid control statement.