D
Dave_in_NH
I've copied a file from an IBM Mainframe computer to my PC and need to do
some analysis in Excel. Some of the fields in the file are "packed" - for
example, the format of one field is " P(9.2). On the mainframe, that takes
up six bytes, so $5.90 is stored as "00000000059F" (the last bit is the
sign). This is NOT "hex" but an old convention that breaks each byte (EBCDIC
8-bit) into two, 4-bit parts and stores one decimal value in each part.
Suggestions about how I can get this format into Excel without having to
re-format the data in a mainframe program first? HEX2DEC is not an answer
because "packed" fields are not true HEX values.
some analysis in Excel. Some of the fields in the file are "packed" - for
example, the format of one field is " P(9.2). On the mainframe, that takes
up six bytes, so $5.90 is stored as "00000000059F" (the last bit is the
sign). This is NOT "hex" but an old convention that breaks each byte (EBCDIC
8-bit) into two, 4-bit parts and stores one decimal value in each part.
Suggestions about how I can get this format into Excel without having to
re-format the data in a mainframe program first? HEX2DEC is not an answer
because "packed" fields are not true HEX values.