|
> the following sting for a 4 byte number : "0000000C", which I > understand > to be 12, but I know the number should be 1. Bob, I think you will find this is a packed decimal number zero. Hopefully you can get the record layout. After doing the EBCDIC to ASCII translation, you need to know the data type. In the field above, -999.99 would be 0099999D and if zoned decimal would be F0 F0 F9 F9 F9 F9 D9 You might also see "00 00 00 0C" as "00 00 00 0F" from the S/390 in the same file. Unless you know where the digits are and where the decimal is... Mark Villa in Summerville SC
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.