As part one my requirmement i need convert the binary data to zoned decimal
i have used below code but i am geeting wrong data in the out put file
could you please help me to sort out issue would be great.
SORT FIELDS=COPY
OUTREC FIELDS=(1,6,BI,TO=ZD,LENGTH=14)
Input file
----+--
.gÇm.!
.g¦..!
.g%..!
.g2ÿ..
.g2ÿ..
.g2ÿ..
.gÇm.!
.g¦..!
.g%..!
.g2ÿ..
.g2ÿ..
.g2ÿ..
Out put file
Command ===>
----+----1----
****** **************
000001 00000000000000
000002 00000000000000
000003 00000000000000
000004 00000000000000
000005 00000000000035
000006 00000000000106
000007 00000000000132
****** **************
000001 00000000000000
000002 00000000000000
000003 00000000000000
000004 00000000000000
000005 00000000000035
000006 00000000000106
000007 00000000000132