Want to monitor and validate a string in MLWTO message. How is this done in SOPS?
Ex. Capture word(7) of 2nd line of MLWTO ("CPFWLPX") from MessageID DFHSJ1007
DFHSJ1007 W AC7CICX 910
05/18/2021 17:24:43 AC7CICX BL76 03601 JVMSERVER CPFWLPX is being
disabled and restarted by CICS because it is in an inconsistent
state.
Release : 11.9
Component : CA SOLVE:Operations Automation for z/OS
We recommend the best way to handle this is via a resource definition due to ResourceView’s superior handling of MLWTOs.
If you have a resource defined for the task that issues the messages then you just specify DFHSJ1007 as a status monitor message, if you don’t have a resource then you could use an
existing resource OR create a USRCLS resource and specify $MN-DFHSJ1007 as a status monitor message.
Whichever approach you use, the next step is to have an extended filter like this:
Extended Filter Definition
Message Text .......... DFHSJ1007
Wildcard Character .... *
E Message Text Analysis ssssssssssssssssssssssssssssssssssssssssssssssssssssssN
e e
e Str Lne Word Scan e
e Pos Num Num Op Text e
e 1 2 7 = CPFWLPX e
e 2 e
e 3 e
e 4 e
e 5 e
e e
e Expression e.g (1 and (2 or 3)) e
DsssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssM