Jun 20, 2016 03:34 PM
1110 Views
The MOVE operation transfers characters from factor 2 to the result field. Moving starts with the rightmost character of factor 2.
If factor 2 is longer than the result field, the excess leftmost characters of factor 2 are not moved. If the result field is longer than factor 2, the excess leftmost characters in the result field are unchanged, unless padding is specified.
You cannot specify resulting indicators if the result field is an array; you can specify them if it is an array element, or a nonarray field.
If factor 2 is shorter than the length of the result field, a P specified in the operation extender position(position 53) causes the result field to be padded on the left after the move occurs.
For further information on the MOVE operation, see Move Operations. It is summarized in Figure "MOVE Operation".
Move Example