60229400
The composite of operands must not contain more than 18 digits. The com-
posite is the data item resulting from superimposing all operands, aligned
by decimal points. The data items that follow GNING are not included in the
composite. The compiler insures that enough places are carried to avoid
loss of significant digits during execution.
If
one or more of the additions results in a size error, the procedure RATE-
OVERFLOW - PROC is performed after completion of the whole ADD statement.
Each receiving item that has a size error retains its current value instead of
the computed result. Control returns to the statement following ADD statement.
Examples:
ADD MONTHLY-EARNINGS OVERTIME-EARNINGS GROSS-YEAR-
TO-DATE
ADD MONTHLY-EARNINGS OVERTIME-EARNINGS GNING MONTHLY-
GROSS-PAY WORK-MONTHLY-GROSS-PAY
ADD HOS-INSURANCE LIFE-INSURANCE STATE-UNEMPLOYMENT
UNITED MISCELLANEOUS GNING TOTAL-DEDUCTIONS
ADD CORRESPONDING UPDATE-RATE-TABLE TO RATE-TABLE ON
SIZE ERROR PERFORM RATE-OVERFLOW-PROC
UPDATE-RATE-TABLE and RATE-TABLE are described as follows:
01
UPDATE-RATE-TABLE
03
EASTERN-REG
05
NEW-YORK
07
RATE
05
BOSTON
07
RATE
03
WESTERN-REG
05
LOS-ANGELES
07
RATE
01
RATE-TABLE
03
EASTERN-REG
05
NEW-YORK
07
RATE
05
BOSTON
07
RATE
05
PHILADELPHIA
07
RATE
03
WESTERN-REG
05
LOS-ANGELES
07
RATE
05
SAN-FRANCISCO
07
RATE
03
MIDWEST-REG
The rates for New York, Boston, and Los Angeles in the UPDATE-RATE-
TABLE are added
to
the rates for these three cities in the RATE-TABLE,
and the results are the new rates. No other alteration occurs in the
RATE-TABLE.
4-19
Need help?
Do you have a question about the 3300 and is the answer not in the manual?