Library View Topics Framed Contents Revised Topics Previous Topic Next Topic Search Search ResultsPrevious Topic MatchNext Topic Match Notes List Notes Print Download No PDF Handheld DisconnectedHandheld ConnectedHelp

X 6.2.33.7 Format 7: SET for USAGE OBJECT REFERENCE Data Items




X When this format of the SET statement is executed the value in the
X receiving item is replaced by the value in the sending item.


 X  ___ Format 7--SET (USAGE IS OBJECT REFERENCE Data Items) _______________ 
 X |                                                                        |
 X | >>__SET__object-reference-id-1__TO__ _object-reference-id-2_ _______>< |
 X |                                     |_NULL__________________|          |
 X |                                     |_SELF__________________|          |
   |                                                                        |
   |________________________________________________________________________|

X Object-reference-id-1 and object-reference-id-2 must be defined as USAGE
X OBJECT REFERENCE, with object-reference-id-1 being the receiver and
X object-reference-id-2 being the sender. If object-reference-id-1 is
X defined as an object reference of a certain class (defined as "USAGE
X OBJECT REFERENCE class-name"), object-reference-id-2 must be an object
X reference of the same class or a class derived from that class.


X If the figurative constant NULL is specified, the receiving
X object-reference-id-1 is set to the NULL value.


X If SELF is specified, the SET statement must appear in the procedure
X division of a method. In this case, object-reference-id-1 is set to refer
X to the object upon which the currently executing method was invoked.

Previous Topic Next Topic © Copyright IBM Corp. 1991, 1998

IBM Library Server Copyright 1989, 2005 IBM Corporation. All rights reserved.





Return to library:   z/OS | z/OS.e | TPF | z/VSE | z/VM | IBM Hardware | IBM System z Redbooks
Glossary:   IBM terminology
Publications:   How to order publications
Readers:   Download IBM Library Reader | Download IBM Softcopy Reader | Download Adobe® Acrobat® Reader®
Library management:   Download IBM Softcopy Librarian
Contacts:   Contact z/OS


Adobe, the Adobe logo, Acrobat, the Acrobat logo, and Acrobat Reader are registered trademarks of Adobe Systems incorporated.