Arithmetic and Assignment Commands

CA ADS arithmetic and assignment commands are used to perform calculations and move data. Values used in arithmetic or assignment commands can include built-in functions.
idmscu
CA ADS arithmetic and assignment commands are used to perform calculations and move data. Values used in arithmetic or assignment commands can include built-in functions.
Arithmetic and Assignment Commands
The arithmetic and assignment commands are listed in the table below. Each command is presented in alphabetical order after the general considerations that follow the table.
ADD
Calculates the sum of two values and places the result in a variable data field
COMPUTE
Evaluates an arithmetic expression and places the result in a variable data field
DIVIDE
Calculates the quotient of two values, places the result in a variable data field, and optionally places the remainder in another variable data field
MOVE
Moves a value to a variable data field
MULTIPLY
Calculates the product of two values and places the result in a variable data field
SUBTRACT
Calculates the difference between two values and places the result in a variable data field