The MOVE statement transfers data to one or more data areas. The editing rules control data transfer.
1 – 1format
The MOVE statement transfers data to one or more data areas. The
editing rules control data transfer.
Format 1 -
MOVE { src-item } TO { dest-item } ...
{ lit }
1.1 – src-item
is an identifier that represents the sending area.
1.2 – lit
is a literal that represents the sending area.
1.3 – dest-item
is an identifier that represents the receiving area.
2 – 2format CORRESPONDING
The MOVE statement transfers data to one or more data areas. The
editing rules control data transfer.
Format 2 -
MOVE { CORRESPONDING } src-item TO dest-item
{ CORR }
2.1 – src-item
is an identifier that represents the sending area.
2.2 – dest-item
is an identifier that represents the receiving area.