Rational Developer for System z
COBOL for Windows, Version 7.5, Language Reference


Condition-name

Format 1 (data division item)
Read syntax diagramSkip visual syntax diagram                     .-------------------------.  
                     V                         |  
>>-condition-name-1----+---------------------+-+---------------->
                       '-+-IN-+--data-name-1-'    
                         '-OF-'                   
 
>--+---------------------+--+---------------------+------------><
   '-+-IN-+--file-name-1-'  |    .-----------.    |  
     '-OF-'                 |    V           |    |  
                            '-(----subscript-+--)-'  
 

Format 2 (special-names item)
Read syntax diagramSkip visual syntax diagram                     .-----------------------------.  
                     V                             |  
>>-condition-name-1----+-------------------------+-+-----------><
                       '-+-IN-+--mnemonic-name-1-'    
                         '-OF-'                       
 
condition-name-1
Can be referenced by statements and entries either in the program that contains the definition of condition-name-1, or in a program contained within that program.

If explicitly referenced, a condition-name must be unique or be made unique through qualification or subscripting (or both) except when the scope of names by itself ensures uniqueness of reference.

If qualification is used to make a condition-name unique, the associated conditional variable can be used as the first qualifier. If qualification is used, the hierarchy of names associated with the conditional variable itself must be used to make the condition-name unique.

If references to a conditional variable require subscripting, reference to any of its condition-names also requires the same combination of subscripting.

In this information, condition-name refers to a condition-name qualified or subscripted, as necessary.

data-name-1
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.

mnemonic-name-1
For information about acceptable values for mnemonic-name-1, see SPECIAL-NAMES paragraph.

Terms of use | Feedback

Copyright IBM Corporation 1996, 2008.
This information center is powered by Eclipse technology. (http://www.eclipse.org)