Hi,
I have a requirement to convert the packed decimal and binary fields in a file to decimal without using a copybook.In this case since i wont come to know about the starting position and length of packed decimal and binary field,first im converting everything into hexadecimal.Then trying to convert it into decimal.I dont have any problem in converting decimal,packed decimal,alphanumeric fields to hexadecimal and vice versa.But im having the problem in converting binary to decimal
For example,if im going to store 7561 as binary,When i convert it to hexadecimal,im getting as 1D89000C.So with this ebcdic represenation,how can i get 7561,please give me your suggestion?