I want to inverse an string on a field of input record. For example consider below:
XYZABCD001
XYZEFGH001
XYZIJKL001
XYZMNOP001
XYZEFGH001
XYZIJKL001
XYZMNOP001
I want to exract like below:
XYZDCBA001
XYZHGFE001
XYZLKJI001
XYZPONM001
XYZHGFE001
XYZLKJI001
XYZPONM001
Is there a program to inverse the string form col4 to col7.(Or a control statement parameter to do this)
If isn't there how I can call my program (a load module that inverse an string) in sort control statment. And how my program must receieve input and send output to the SORT program.