|
<<SNIP>>in EBCDIC a byte representing a
character "1" is the same as a byte representing a zoned numeric 1,
which is hex F1. So MOVE works coincidentally, with alpha fields and
zoned numeric fields as long as the number is positive. The "F" in F1
indicates it's "unsigned", a "C" indicates it's positive and "D"
indicates it's negative. The "sign" in a zoned field is represented
in the last byte (least significant). That's why you get the letter
"O", which is hex D6, representing the digit 6 in a negative number.
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.