Hello All ,
We have a specific situation where we have to port/migrate all existing COBOL applications currently running on Mainframe environment to Linux Environment. ( going ahead the application would run in Linux environment )
Most of the COBOL programs are having inbuilt HEX constants defined in the program which are subsequently used in the program for data comparison.
EX ; 05 VAR-XYZ PIC X VALUE X'C2'.
We know that this HEXADECIMAL is of EBCDIC Collating Sequence in Mainframe.
Now after migrating these COBOL codes to LINUX , we have to convert these constants to HEX equivalent of ASCII.
What is the best approach to translate all these HEX constants in EBCDIC to equivalent ASCII .( On avearge we have 300+ programs in our set-up which has HEX constants defined in them )
Thanks in advance!!