> 1) What is the purpose of the X preceding the numeric parameters?

X defines that the following string should be interpretated as hex value

> 2) Why is there an F at the end of your second numeric parameter?

The CL numerics are packed values, i.e. each zone of a byte is a digit (while
zoned numerics uses a whole byte for a digit).

F is the sign (+) other valid values for the sign are C and D

Well, this is some of the *very* basic knowledge a programmer should know 
it is essential for understanding -for instance- pgm behaviour, pgm testing,
understanding and solving problems. - But unfortunately i cannot remember if
there is an IBM book where it is described (i learned it many years ago during
learning programming - regardless of AS/400).

Perhaps other readers can give you some hints.

| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
| To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2019 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].