Format 7: SET for USAGE OBJECT REFERENCE data items
When this format of the SET statement is executed, the value in the receiving item is replaced by the value in the sending item.
object-reference-id-1 and object-reference-id-2 must be defined as USAGE OBJECT REFERENCE. object-reference-id-1 is the receiving item and object-reference-id-2 is the sending item. If object-reference-id-1 is defined as an object reference of a certain class (defined as "USAGE OBJECT REFERENCE class-name"), object-reference-id-2 must be an object reference of the same class or a class derived from that class.
If the figurative constant NULL is specified, the receiving object-reference-id-1 is set to the NULL value.
If SELF is specified, the SET statement must appear in the PROCEDURE DIVISION of a method. object-reference-id-1 is set to reference the object upon which the currently executing method was invoked.