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

1.5.1.6.2 Identifier



When used in a syntax diagram in this manual, the term identifier refers to a valid combination of a data-name or function-identifier with its qualifiers, subscripts, and reference-modifiers as required for uniqueness of reference. Rules for identifiers associated with a format can, however, specifically prohibit qualification, subscripting, or reference-modification.

The term data-name refers to a name that must not be qualified, subscripted, or reference modified, unless specifically permitted by the rules for the format.


    ___ Format 1 ___________________________________________________________ 
   |                                                                        |
   |                  <_________________________                            |
   | >>__data-name-1____ _____________________ _|_________________________> |
   |                    |_ _IN_ __data-name-2_|                             |
   |                      |_OF_|                                            |
   |                                                                        |
   |                             <_____________________                     |
   | >__ _____________________ ____ _________________ _|__________________> |
   |    |_ _IN_ __file-name-1_|    |_(__subscript__)_|                      |
   |      |_OF_|                                                            |
   |                                                                        |
   | >__ ________________________________________________ _______________>< |
   |    |_(__leftmost-character-position:__ ________ __)_|                  |
   |                                       |_length_|                       |
   |                                                                        |
   |________________________________________________________________________|
data-name-1, data-name-2
Can be a record-name.

file-name-1
Must be identified by an FD or SD entry in the Data Division.

File-name-1 must be unique within this program.


    ___ Format 1 ___________________________________________________________ 
   |                                                                        |
   |                           <_________________________                   |
   | >>__ _condition-name-1_ ____ _____________________ _|________________> |
   |     |_data-name-1______|    |_ _IN_ __data-name-2_|                    |
   |                               |_OF_|                                   |
   |                                                                        |
   | >__ _____________________ __________________________________________>< |
   |    |_ _IN_ __file-name-1_|                                             |
   |      |_OF_|                                                            |
   |                                                                        |
   |________________________________________________________________________|

    ___ Format 2 ___________________________________________________________ 
   |                                                                        |
   | >>__LINAGE-COUNTER__ _____________________ _________________________>< |
   |                     |_ _IN_ __file-name-2_|                            |
   |                       |_OF_|                                           |
   |                                                                        |
   |________________________________________________________________________|
data-name-1, data-name-2
Can be a record-name.

condition-name-1
Can be referenced by statements and entries either in that program containing the Configuration Section or in a program contained within that program.

file-name-1
Must be identified by an FD or SD entry in the Data Division.

Must be unique within this program.

LINAGE-COUNTER
Must be qualified each time it is referenced if more than one file description entry containing a LINAGE clause has been specified in the source program.

file-name-2
Must be identified by the FD or SD entry in the Data Division. File-name-2 must be unique within this program.

Duplication of data-names must not occur in those places where the data-name cannot be made unique by qualification.

In the same program, the data-name specified as the subject of the entry whose level-number is 01 that includes the EXTERNAL clause must not be the same data-name specified for any other data description entry that includes the EXTERNAL clause.

In the same Data Division, the data description entries for any two data items for which the same data-name is specified must not include the GLOBAL clause.

Data Division names that are explicitly referenced must either be uniquely defined or made unique through qualification. Unreferenced data items need not be uniquely defined. The highest level in a data hierarchy must be uniquely named, if referenced. This is a data item associated with a level indicator (FD or SD in the File Section) or with a level-number 01. Data items associated with level-numbers 02 through 49 are successively lower levels of the hierarchy.

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.