convert COMP-3 data in readable mode

convert COMP-3 data in readable mode I have a file on mainframe with packed data in it, the COBOL program¬† which created this file had comp-3 variables defined in this file, is it possible to convert this file to readable values by some utility. One option is to read this file using another COBOL program and use MOVE for each variable to edited PICTURE variables, but I am looking for an alternative and easier solution.¬† “; ; ; ;

SORT FIELDS=COPY OUTREC=(1,9,10,4,PD,EDIT=(TTTTTT),LENGTH=6)

you have to remember that 6 digits packed decimal is 4 bytes long.

Log in or register to post comments