11:09:02 AUTO LOGON *** USER2 USERS 021 BY AUTOLOG1 and the message 11:09:02 AUTO LOGON *** AUTOLOG2 USERS 021 BY SYSTEM but not the message 11:09:02 GRAF OAO LOGON AS AUTOLOG1 USERS 023 or the message AUTOLOG WON'T LOGON TOMORROW A text with two or more texts preceded by arbitrary character separators ($), is
matched by a message with all those texts appearing in that order.
The texts in the message are scanned in the order that they appear in the routing
table entry. One text is searched for at a time. If the arbitrary character separator
($) precedes the text in the entry, a message is scanned until a match is found or
the end of the message is reached. If the blank character separator (I) precedes
the comparison text, blanks are skipped over and the first non-blank string of char­
acters is compared to the comparison text, which mayor may not match.
Routing table entries and messages are also affected if the text is preceded by a
not-symbol (...,). The not symbol is always used with one of the other separator
characters; it never stands alone. If a matching text is found and the text in the
routing table is preceded only by a "$" or a "I", the position following the last
matched text is remembered. If there are no more RTABLE texts to be searched
for, the entry is a match. If there is another text in that RTABLE entry to be
searched for, the scan continues from the position following the last matched text.
A match depends on the rest of the message text and the routing table entry. If a
matching text is found but the text in the routing table is preceded by the
not-symbol (...,), the entry is not a match and checking goes no further. Similarly, if
a matching text is not found but the text in the routing table is not preceded by the
not-symbol, the entry is not a match. If a match is not found and the text is pre­
ceded by the not-symbol (...,), and if there are no more texts, the entry matches the
message. If there are more texts to scan for, the scan continues as above starting
with the character following the last match. A match depends on the rest of the
message text and the routing table entry.
Consider the following example:
4. The RTABLE entry $--,AUTO$LOGON does match the message
12:04:28 GRAF OAO LOGON AS USER1 USERS = 027 Because the first text in the RTABLE entry (AUTO) is preceded by the arbi­
trary character separator ($), the entire text is searched for "AUTO". No
match is found. Because the text is preceded by the not-symbol (...,), the text is
still a match at this point. The scan for the next text (LOGON) begins at the
end of the last match. Because there was no previous match, the scan begins
again at the start of the message. The LOGON text is preceded by the arbi-
The Programmable Operator Facility 433
trary character separator ($), so the search proceeds through the message until "LOGON" is matched. Because "LOGON" appears in the message, this
R TABLE entry and message do match.
Now consider this example:
5. The RTABLE entry $..,AUTO/LOGON does not match the same message
12:04:28 GRAF OAO LOGON AS USER1 USERS = 027 The message is scanned for "AUTO" as above. The s!arch for "LOGON" again begins at the beginning of the message. In this case, however, the LOGON text is preceded by the blank separator (I), so only blanks are
skipped prior to the comparison. No blanks are found, so the comparison is
made at the beginning of the text and "LOGON" is compared with "12:04:". This is not a match. Because this text was not preceded by the not-symbol,
this R TABLE entry and message do not match.
Another example:
6. The R TABLE entry $..,AUTO/LOGON does not match the message
12:04:28 AUTO LOGON *** USER1 USERS = 027 BY AUTOLOG1 Because "AUTO" is found in the message and is preceded in the RTABLE
entry by the arbitrary character separator ($) and the not-symbol (...,), the
RTABLE entry and message do not match.
Here is another example:
7. The R TABLE entry
434 VM/SP System Programmer's Guide $LOGOFF$..,030/FORCED does not match the message
12:04:28 USER DSC LOGOFF AS USER1 USERS = 026 FORCED The first text, "LOGOFF", is preceded by the arbitrary character separator
($) and is scanned for through the text. "LOGOFF" is found. Because "LOGOFF" is not preceded by the not-symbol, the next text is scanned. The
scan continues from the end of the previous match, which is the character fol­
lowing the LOGOFF text. Since the arbitrary character separator ($), pre­
cedes "030", the entire remaining text is searched for "030". It is not found
but because "030" is preceded by the not-symbol, the message and RT ABLE
entry still match. Finally, "FORCED" is scanned for. It is preceded by the
blank separator (I). Blanks are skipped, and starting with the character fol­ Imving the last matchcd string (which was "LOGOFF"), "FORCED" is com-
Previous Page Next Page