MOVEA (Move Array)

Free-Form Syntax (not allowed — use %SUBARR or one or more String Operations)
Code Factor 1 Factor 2 Result Field Indicators
MOVEA (P) Source Target + - ZB

The MOVEA operation transfers character, graphic, UCS-2, or numeric values from factor 2 to the result field. (Certain restrictions apply when moving numeric values.) Factor 2 or the result field must contain an array. Factor 2 and the result field cannot specify the same array even if the array is indexed. You can:

Movement of data starts with the first element of an array if the array is not indexed or with the element specified if the array is indexed. The movement of data ends when the last array element is moved or filled. When the result field contains the indicator array, all indicators affected by the MOVEA operation are noted in the cross-reference listing.

The coding for and results of MOVEA operations are shown in Figure 346. See Character, graphic, and UCS-2 MOVEA Operations, Numeric MOVEA Operations, and General MOVEA Operations for more information.

For more information, see Array Operations, Move Operations, or Date Operations.



[ Top of Page | Previous Page | Next Page | Contents | Index ]