JCL- Sort Overlay

In DFSORT, you can overlay values in input dataset as you like. To do that you need to use DFSORT OVERLAY command. The example and syntax help you how to use to get desired result.

OVERLAY

Reformat each record by specifying just the items that overlay specific columns. Overlay lets you change specific existing columns without affecting the entire record. Example:

OUTREC OVERLAY=(45:45,8,TRAN=LTOU). 

It changes all characters in position 45 to 52 from Lower case to Upper case.

 Related articles

Advertisements

Author: Srini

Experienced software developer. Skills in Development, Coding, Testing and Debugging. Good Data analytic skills (Data Warehousing and BI). Also skills in Mainframe.