I am now working in a payment gateway .ISO 8583 messaging system we are using . I am facing some problem that I describle below : my binary data is :
0111101010111010000001000000000100001110111000001100000000000000
I need to convert it Hexadecimal value (8 bytes):
7A BA 04 01 0E E0 C0 00
then I need to Transferred as 16 EBCDIC characters (hexadecimal):
F7 C1 C2 C1 F0 F4 F0 F1 F0 C5 C5 F0 C3 F0 F0F0
then I need Transferred as 16 ASCII characters (hexadecimal):
37 41 42 41 30 34 30 31 30 45 45 30 43 30 30 30
my problem is how can I convert this binary data EBCDIC character and ASCII character . If anyone help me its very needed