6.2.20.2 INITIALIZE Statement Rules
- Whether identifier-1 references an elementary or group item, all
operations are performed as if a series of MOVE statements had been
written, each of which had an elementary item as a receiving field.
If the REPLACING phrase is specified:
- If identifier-1 references a group item, any elementary item
within the data item referenced by identifier-1 is initialized
only if it belongs to the category specified in the REPLACING
phrase.
- If identifier-1 references an elementary item, that item is
initialized only if it belongs to the category specified in the
REPLACING phrase.
This initialization takes place as if the data item referenced by
identifier-2 or literal-1 acts as the sending operand in an implicit
MOVE statement to the identified item.
All such elementary receiving fields, including all occurrences of
table items within the group, are affected, with the following
exceptions:
- Index data items
- X Object references
- X Data items defined with USAGE IS POINTER or USAGE IS
X PROCEDURE-POINTER
- Elementary FILLER data items
- Items that are subordinate to identifier-1 and contain a REDEFINES
clause, or any items subordinate to such an item. (However,
identifier-1 can contain a REDEFINES clause or be subordinate to a
redefining item.)
- The areas referenced by identifier-1 are initialized in the order
(left to right) of the appearance of identifier-1 in the statement.
Within a group receiving field, affected elementary items are
initialized in the order of their definition within the group.
- If identifier-1 occupies the same storage area as identifier-2, the
result of the execution of this statement is undefined, even if these
operands are defined by the same data description entry.
© 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.