I have a input file wherein every record should contain data in alphanumeric, decimal, binary, floating-point and packed decimal format.
for alphanumeric and decimal format, its easy to read data from input file and write it to output file.
I am really struggling with the data in hexadecimal format in input file record. i have to read data in hexadecimal format and write it to an output file in human readable format.
Can someone assist me to convert data represented in hexadecimal format in an input file, convert it to decimal format thru some cobol code logic and write the data in output file in decimal format.
Not sure whether cobol support some inbuilt function to take care of it or not. Pls let me know if anyone is aware of such an inbuilt cobol function.