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

5.3.17.1 Format 1




    ___ Format 1--Literal Value ____________________________________________ 
   |                                                                        |
   | >>__VALUE__ ____ __literal__________________________________________>< |
   |            |_IS_|                                                      |
   |                                                                        |
   |________________________________________________________________________|
Format 1 specifies the initial value of a data item. Initialization is independent of any BLANK WHEN ZERO or JUSTIFIED clause specified.

A format 1 VALUE clause specified in a data description entry that contains or is subordinate to an OCCURS clause causes every occurrence of the associated data item to be assigned the specified value. Each structure that contains the DEPENDING ON phrase of the OCCURS clause is assumed to contain the maximum number of occurrences for the purposes of VALUE initialization.

The VALUE clause must not be specified for a data description entry that contains, or is subordinate to, an entry containing either an EXTERNAL or a REDEFINES clause. This rule does not apply to condition-name entries.

If the VALUE clause is specified at the group level, the literal must be a nonnumeric literal or a figurative constant. The group area is initialized without consideration for the subordinate entries within this group. In addition, the VALUE clause must not be specified for subordinate entries within this group.

For group entries, the VALUE clause must not be specified if the entry also contains any of the following clauses: JUSTIFIED, SYNCHRONIZED, or USAGE (other than USAGE DISPLAY).

The VALUE clause must not conflict with other clauses in the data description entry, or in the data description of this entry's hierarchy.


X Any VALUE clause associated with COMPUTATIONAL-1 or COMPUTATIONAL-2
X (internal floating-point) items must specify a floating-point literal.
X The condition-name VALUE phrase must also specify a floating-point
X literal. In addition, the figurative constant ZERO and both integer and
X decimal forms of the zero literal can be specified in a floating-point
X VALUE clause or condition-name VALUE phrase.


X For information on floating-point literal values, see "Rules for
X Floating-point Literal Values:" in topic 1.1.4.2.1.


X A VALUE clause cannot be specified for external floating-point items.


X A VALUE clause associated with a DBCS item must contain a DBCS literal or
X the figurative constant SPACE.


X A data item cannot contain a VALUE clause if the prior data item contains
X a OCCURS clause with the DEPENDING ON phrase.

Subtopics:



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.