4-38
Example:
If
a record named MASTER contains information to be written as part of a
record called MAST-REP, the MOVE CORRESPONDING statement can
specify movement of all relevant data.
01
MASTER
01
MAST-REP
03
ITEM-NUMBER
03
ITEM-NUMBER
03
ITEM-NAME
03
ITEM-NAME
05
GENERAL-CLASS
05
GENERAL-CLASS
05
DETAIL-NAME
05
DETAIL-NAME
03
ON-HAND-QUAN
03
YEAR-TO-DATE-SALES
03
REORDER-LEVEL
03
LAST-YEAR-SALES
03
RETAIL-PRICE
03
YEAR-TO-DATE-PROFIT
03
WHOLESALE-LEVEL
03
PROJECTED-PROFIT
03
WHOLESALE-PRICE
03
LAST-YEAR- PROFIT
03
YEAR-TO-DATE-SALES
03
SALES-COMP
03
YEAR-TO-DATE-PROFIT
03
PROFIT-COMP
03
LAST-YEAR -SALES
03
LAST-YEAR-PROFIT
MOVE CORRESPONDING MASTER TO MAST-REP results in movement of
items: ITEM-NUMBER, ITEM-NAME (GENERAL-CLASS and DETAIL-
NAME), YEAR-TO-DATE-SALES, LAST-YEAR-SALES, YEAR-TO-DATE-
PROFIT, and LAST-YEAR-PROFIT.
60229400
Need help?
Do you have a question about the 3300 and is the answer not in the manual?