OUTREC control statement is used to reformat (adds, deletes, or reformats fields) each record after they are sorted, merged, or…
CHANGE in OUTREC statement can be used to look up and change the content in the file while sorting. Build…