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

6.1.6.4 Relation Condition



A relation condition compares two operands, either of which can be an
X identifier, literal, arithmetic expression, or index-name. A nonnumeric
X literal can be enclosed in parentheses within a relation condition.


    ___ Format 1 ___________________________________________________________ 
   |                                                                        |
   | >>__operand-1__ ____ __ _ _____ __ _GREATER__ ______ _ ______ _______> |
   |                |_IS_|  | |_NOT_|  |          |_THAN_| |      |         |
   |                        |          |_>_________________|      |         |
   |                        |          |_LESS__ ______ ____|      |         |
   |                        |          |       |_THAN_|    |      |         |
   |                        |          |_<_________________|      |         |
   |                        |          |_EQUAL__ ____ _____|      |         |
   |                        |          |        |_TO_|     |      |         |
   |                        |          |_=_________________|      |         |
   |                        |_GREATER__ ______ __OR EQUAL__ ____ _|         |
   |                        |          |_THAN_|            |_TO_| |         |
   |                        |_>=__________________________________|         |
   |                        |_LESS__ ______ __OR EQUAL__ ____ ____|         |
   |                        |       |_THAN_|            |_TO_|    |         |
   |                        |_<=__________________________________|         |
   |                                                                        |
   | >__operand-2________________________________________________________>< |
   |                                                                        |
   |________________________________________________________________________|
operand-1
The subject of the relation condition. Can be an identifier, literal, function-identifier, arithmetic expression, or index-name.

operand-2
The object of the relation condition. Can be an identifier, literal, function-identifier, arithmetic expression, or index-name.

The relation condition must contain at least one reference to an identifier.

The relational operator specifies the type of comparison to be made. Table 21 shows relational operators and their meanings. Each relational operator must be preceded and followed by a space. The relational operators >= and <= must not have a space between them.


 Table 21. Relational Operators and Their Meanings                         
 Relational Operator   Can Be Written   Meaning                            
 IS GREATER THAN       IS >             Greater than                       
 IS NOT GREATER THAN   IS NOT >         Not greater than                   
 IS LESS THAN          IS <             Less than                          
 IS NOT LESS THAN      IS NOT <         Not less than                      
 IS EQUAL TO           IS =             Equal to                           
 IS NOT EQUAL TO       IS NOT =         Not equal to                       
 IS GREATER THAN OR  
 EQUAL TO            
 IS >=          
                
 Is greater than or equal to        
                                    
 IS LESS THAN OR     
 EQUAL TO            
 IS <=          
                
 Is less than or equal to           
                                    

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.