![]() |
Copyright © TIBCO Software Inc. All Rights Reserved |
The sequence of characters, which could contain the special characters asterisk (*) and question mark (?)
• PATTERN_MATCH returns either Y (in which case the string is a partial match of the pattern) or N.
• The rule checks to see if the commands SELECT or DELETE, or any abbreviation of these commands, such as SEL or DEL, are valid.
Normally if you have several commands, you would store them in a table and use LIKE as your selection operator.
•
• If the command is not valid, the user gets a message on the screen (EMPSCREEN) explaining that the command is not acceptable. The following illustrates a rule using PATTERN_MATCH:
![]() |
Copyright © TIBCO Software Inc. All Rights Reserved |