In DFSORT, you can overlay values in the input dataset as you like. To do that you need to use the DFSORT OVERLAY command. The example and syntax help you how to use to get the desired result.
Example SORT 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:
It changes all characters in position 45 to 52 from Lower case to Upper case.
- Alternative Careers for Mainframe Developers (srinimf.com)
- Far From Extinct, Mainframes Will Rule Enterprise Data Centers In The Future (christopheromalley.wordpress.com)
- DFSORT-INREC And OUTREC An Example (srinimf.com)