or object or pointer
or national
.
For each of the categories other than data-pointer, object-reference or program-pointer stated in the REPLACING phrase, a MOVE statement with identifier-2 or literal-1 as the sending item and an item of the specified category as the receiving operand must be valid. (See the topic The MOVE Statement.)
For each of the categories, a MOVE statement with identifier-2 or literal-1 as the sending item and an item of the specified category as the receiving operand must be valid.
If the REPLACING phrase is not specified, the sending operand is determined according to the general rules of the INITIALIZE statement.
The data item referenced by identifier-1 cannot be variably located, that is, it cannot follow in the same record description an item containing the DEPENDING phrase of the OCCURS clause unless identifier-1 is subordinate to that item with the OCCURS clause.
The data item referenced by identifier-1 can be variably located.
If ALL is specified in the VALUE phrase it is as if all of the categories listed in category-name were specified.
If the category of a receiving-operand is data-pointer, object-reference, or program-pointer, the implicit statement is: SET receiving-operand TO sending-operand
Otherwise, the implicit statement is: MOVE sending-operand TO receiving-operand.
- except data items of category data-pointer, object-reference or program-pointer when dialect specified is MF15 or ISO2002
.Receiving operand | Figurative constant |
---|---|
Alphabetic | Figurative constant alphanumeric SPACES |
Alphanumeric | Figurative constant alphanumeric SPACES |
Alphanumeric-edited | Figurative constant alphanumeric SPACES |
Data-pointer | Predefined address NULL |
National | Figurative constant national SPACES |
National-edited | Figurative constant national SPACES |
Numeric | Figurative constant ZEROES |
Numeric-edited | Figurative constant ZEROES |
Object-reference | Predefined object reference NULL |
Program-pointer | Predefined address NULL |