The following are the delimiters that you can reset:
The exclamation point delimiter (!) is used for concatenating multiple statements and for positional reset.
These delimiters can be reset at any point in a model.
Each time a model is processed, the delimiters are reset to their default values. If you reset the values of the delimiters, the new values are not available to other models that might be called later, nor are the new values available the next time the current model is processed.
You can set new values for the delimiters at the beginning of the model, outside all @IF tests, to make the new values available to all statements in the model. All subsequent control statements in the model use the new delimiter values. You need not reset them to their default values before exiting the model.
You can set new values for the delimiters temporarily in a model to allow the model to generate Data Statements containing the delimiters. In this case, you reset the keywords to new values, generate the Data Statements as required, and then reset the delimiters to their default values for processing the rest of the model.
Resetting model statement delimiters is done with an assignment statement for the system keyword $DELIM. The required format for resetting these values is shown:
@ $DELIM = 'wxyz'
New Control Statement Delimiter
New Keyword Substitution Start
New Keyword Substitution Stop
New Keyword Substitution Positional Delimiter.
You include values for all four resettable delimiters and these delimiters must be unique.
The following shows you how to reset the system Delimiters to default values:
w $DELIM = RESET
Current Control Statement Delimiter
Required keyword value.
Note that while all Model Control Statements that follow the keyword Assignment for $DELIM must use the NEW Control Statement Delimiter, the $DELIM statement itself must use the old delimiter.
Example
@ $DELIM = '#<>!' @* sets Control Statement delimiter to "#" #* New delimiter # $DELIM = RESET #* resets Control Statement delimiter @* Old delimiters
|
Copyright © 2004 CA.
All rights reserved.
|
|