• Subject: Re: Decimal Data Error
  • From: Denis Robitaille <drobitaille@xxxxxxxxxxxx>
  • Date: Wed, 10 Sep 1997 08:57:45 -0400
  • Organization: Cascades inc.

John Earl wrote:
> 
> Tim,
> In addition to all the other good advice that you've gotten (15, 5
> parameters, RPG's default packing of internally defined fields, etc.), it's
> a good rule of thumb to always use Z-ADD when moving data between two
> numeric fields.  Save your MOVE and MOVEL op-codes for character data, and
> you won't have to worry about incompatibilities between different numeric
> data types and field sizes (you still have to be concerned with high order
> truncation though :-o ).
> 

This is a very good advice.

-- 
Denis Robitaille
Cascades Inc.
+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to "MIDRANGE-L@midrange.com".
| To unsubscribe from this list send email to MAJORDOMO@midrange.com
|    and specify 'unsubscribe MIDRANGE-L' in the body of your message.
| Questions should be directed to the list owner/operator: david@midrange.com
+---


This thread ...

Replies:

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].