GDDM V3R2 Diagnosis
|
Previous topic |
Next topic |
Contents |
Index |
Contact z/OS |
Library |
PDF |
BOOK
Recognized tokens GDDM V3R2 Diagnosis SC33-0870-01 |
|
The text patterns that match the lexical tokens used by the syntax are defined below using the operators defined in this list:
Here are some examples of the text patterns that can be described using these operators: a+ matches a aa aaaaa abc+ matches abc abcccccc abcc (abc)+ matches abc abcabc abcabcabc (a|b) matches a b The patterns that correspond to the allowed lexical tokens and their alternative forms are given in this list (uppercase or lowercase characters can be used): Token PatternThe pattern matching to find tokens proceeds according to the following rules:
Rule 3 means that the variable GOTIF is not interpreted as the variable GOT followed by the token IF. Rule 4 means that <= is not mistaken as < and =, and that FR is not be interpreted as the hexadecimal number F followed by the variable name R. Rule 5 ensures that THEN is not interpreted as a variable name. Rule 6 means that tokens that can be distinguished need not be separated by a blank. Thus (1+2) is interpreted as 5 tokens. Rule 7 means that tokens are not picked out of an invalid string; thus IF is not found in the string xxxxxIFxxx. Blanks are required to separate tokens that could form a valid single token, otherwise they are ignored. Note: A consequence of rule 3.b is that blanks cannot appear within a character string. An underscore character within a character string is replaced with a blank after lexical analysis has taken place. Grammatical constructs that might appear peculiar, for example:
1 fr gr
are considered to be syntactically correct but semantically in error.
|------------ End of Product-sensitive programming interface ------------| |
Copyright IBM Corporation 1990, 2012 |