The *SUB built-in function specifies an arithmetic subtraction on two operands, *FACTOR1 and *FACTOR2.
There are three parameters for this function type:
All three parameters must be numeric field types.
CA 2E implements the *SUB built-in function as an RPG SUB statement and as a COBOL SUBTRACT statement.
| Copyright © 2011 CA. All rights reserved. | Tell Technical Publications how we can improve this information |