Commands used to convert the ebcdic file to ascii using iconv and and /bin/iconv
touch
chtag -tc ISO8859-1
iconv -f IBM-1047 -t ISO8859-1 $1.ebcdic >
t IBM-1047 T=on -rw-r----- 1 @02858 @ISSTC00 221 Feb 23 16:46 TBASVC_02132024.csv_GG
t ISO8859-1 T=on -rw-r----- 1 @02858 @ISSTC00 221 Feb 23 16:49 TBASVC_02132024.csv_GG.zopen_iconv
t ISO8859-1 T=on -rw-r----- 1 @02858 @ISSTC00 221 Feb 23 16:52 TBASVC_02132024.csv_GG.iconv
1047 file
bash-5.2$ cat TBASVC_02132024.csv_GG
"DATE","TRANNAME","CLIENTID","TBAIND","TBAS01","cputm","ttrans","cpuptrn","db2reqct","mqreqct",DB2/tran,SUs/tran,TotalCost
"12FEB24","ABCD",00000,999,"SERVICEABC",12445,428684,0.0290,375813738,249414,876.67,209.61,373.35
819 file using iconv
bash-5.2$ cat TBASVC_02132024.csv_GG.zopen_iconv
▒▒▒ႌ▒▒▒++▒(ႌ▒▒<▒▒+▒▒▒▒▒▒▒+▒▒▒▒됑▒▒▒▒▒▒▒_▒▒▒▒▒▒/>˂▒▒▒▒▒▒▒▒>▒▒▒▒▒▒▒▒▒Ȃ▒▒_▒▒▒▒▒Ȃ▒▒▒▒▒/>▒▒▒▒▒▒/>▒▒?▒/%▒?▒Ȏ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒䂌▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒16:56:52 RC=(0) [SYSA] bash-5.2$
819 file using /bin/iconv
bash-5.2$ cat TBASVC_02132024.csv_GG.iconv
"DATE","TRANNAME","CLIENTID","TBAIND","TBAS01","cputm","ttrans","cpuptrn","db2reqct","mqreqct",DB2/tran,SUs/tran,TotalCost
"12FEB24","ABCD",00000,999,"SERVICEABC",12445,428684,0.0290,375813738,249414,876.67,209.61,373.35