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.
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)