On 3/9/2016 11:46 AM, Paul Roy wrote:
how did you pass the parm to test your program ?
if is from the command entry display... are you enclosing the number in
quotes and formatted with leading zeroes ?


Adding leading zeros isn't necessary if you're using %DEC to get the numeric value. %DEC assumes that the string contains a readable number, like '-123.45'.

The leading zeros are only necessary if you use MOVE, which assumes that the character value has the same layout as a zoned decimal value (for example '01234N', for -0123.45).


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

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

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.