Invalid results for arithmetic operations

Last Updated : Sep 08, 2012 |

During arithmetic operations, a variable or digits buffer can be assigned the # character. The # character signifies an invalid value, an overflow value, or an underflow value.

Examples: Dividing by 0 or none, results in an overflow value. Subtracting by a negative, results in an underflow value.

The # character is always a processing result. You can test the # character in a goto command by making the # character equivalent to the keyword used in the threshold field.

Example 1: goto step x if A = #

Example 2: goto step x if A <> #