Register FAQ Memberlist Search Linoma Software Forum Index

Linoma Software Forum Index -> RPG Toolbox -> Arithmetic operations (i.e. ADD, SUB) do not convert
This forum is locked: you cannot post, reply to, or edit topics.  This topic is locked: you cannot edit posts or make replies. View previous topic :: View next topic 
Arithmetic operations (i.e. ADD, SUB) do not convert
PostPosted: 01/23/08 08:28:53 AM Reply with quote
Support
Site Admin
 
Joined: 12 Mar 2004
Posts: 377
Location: Omaha, NE


If you have EXAMINEFLD(*YES) specified on the RPGWIZ command, then the RPG Wizard not convert arthmetic operations if it cannot determine the field lengths/types used in the operations.

Please make sure your library list is set properly so the RPG Wizard can find any external field definitions (ie database fields, display file fields, copy books, etc.).

If your library list is set properly, then some arithmetic operations may still not be converted because of special considerations.

For instance, if an ADD or SUB operation does not convert, it is possible that the significant portion of the result field length is not large enough to hold the result. If you want to force the conversion of an ADD or SUB operation, even though the result field may overflow, then specify CVTADDSUB(*YES2) on the RPGWIZ command.
View user's profile Send private message Send e-mail Visit poster's website
Arithmetic operations (i.e. ADD, SUB) do not convert
  Linoma Software Forum Index -> RPG Toolbox
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 6 Hours  
Page 1 of 1  

  
  
 This forum is locked: you cannot post, reply to, or edit topics.  This topic is locked: you cannot edit posts or make replies.  



Powered by phpBB 2.0.6 © 2001-2003 phpBB Group Style created by Vjacheslav Trushkin