Jump to content
SubSpace Forum Network

Recommended Posts

Posted

You need to have the file transfered in EBCDIC to you on

AIX. You then need to write a program in the language of your choice that

converts the non zoned decimal fields to ASCII and leave the zoned decimal

fields alone since they will already have the right stuff in them..If you

get the file as ASCII you are snookered because the EBCDIC to ASCII will

translate the wrong values on you..

 

 

AIX Ulities

 

 

confused.gif

Posted (edited)
0x56 0x4f 0x4c

 

What format is that? Is that hex? If so how do i convert it into long form like Decimal?

Yes, the "0x" prefix typically means hexadecimal. You convert it to a decimal number just like you would convert any other base 16 number in middle school.

 

Oh, right then.

 

0x56 = 5*16 + 6 = 86

0x4F = 4*16 + 15 = 79

0x4C = 4*16 + 13 = 77

 

Though depending on the application, the binary representation might be more useful.

 

0x56 = 0b01010110

0x4F = 0b01001111

0x4C = 0b01001101

Edited by Blocks
Guest
This topic is now closed to further replies.
×
×
  • Create New...