Hi All,
I have a mainframe file which has 400+ columns are COMP-3 fields. Please let me know to convert all COMP-3 fields to readable format ( CSV or excel ). Appreciate your response.
Thanks,
Naga.
//PD2CSV EXEC PGM=SORT
. . . . . . . . .
//SYMNAMES DD *
F001,PD,*,5
F002,PD,*,10
F003,PD,*,15
. . . . . . . . .
F400,PD,*,10
//*
//SORTIN DD . . . . . . .
//SORTOUT DD . . . . . . .
//SYSIN DD *
SORT FIELDS=COPY
OUTREC BUILD=(F001,Mx, choose Mx for most acceptable format
C’,’,F002,Mx,
C’,’,F003,Mx,
. . . . . . .,
C’,’,F400,Mx)
//*