Example 1

 Code 1          Code 2          Code 3          Value Returned                 
 *               IMSTCTL                         WARNING                        
 *               IMS%CTL                         CRITICAL                       

When checking two values for a match with the code definitions of this example, the first code definition matches with the given values, if the second value is IMSTCTL. In this case, WARNING is returned as the value.

If the second given value consists of IMS and CTL with any single character other than T between, a match with the second code definition occurs and CRITICAL is returned as the value.

Consider the following examples:
Values checked Value returned Reason
DFS2013 and IMSTCTL WARNING These values match the first code definition
DFS2013 and IMS1CTL CRITICAL These values match the second code definition
DFS2013 and IMS10CTL null string These code values do not match any of the code definitions