DFSORT: Convert Lower to Upper Case

In DFSORT, you can convert Lower case values to upper case and vice versa. I have explained how to do this with a good example.

Example Lower to Upper Case.

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). 
OUTREC FIELDS=(91,1,92,14,TRAN=UTOL,X,76,1,77,14,TRAN=UTOL)

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

 Related articles

Author: Srini

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