Group moves

A group move is any move in which an alphanumeric group item is a sending item or a receiving item, or both.

The group moves are:

  • A move to an alphanumeric group item from one of the following items:
    • any elementary data item that is valid as a sending item in the MOVE statement
    • a national group item
    • a literal
    • a figurative constant
  • A move from an alphanumeric group item to the following items:
    • any elementary data item that is valid as a receiving item in the MOVE statement
    • a national group item
    • an alphanumeric group item

A group move is treated as though it were an alphanumeric-to-alphanumeric elementary move, except that there is no conversion of data from one form of internal representation to another. In a group move, the receiving area is filled without consideration for the individual elementary items contained within either the sending area or the receiving area, except as noted in the OCCURS clause. (See OCCURS clause.)