Find Messages That Contain a Text String
August 2, 2006 Hey, IT Jungle Forums
I’m trying to create a utility that will display all messages in a message file that contain a search string in the message description. For example, if we specify the search string as “invalid,” the utility should list all messages in the message file that contain the word invalid.
This question was posted on the IT Jungle Web Forums. I suggested Deepa use Qshell’s grep utility to do the search. The following Qshell command scans message file XUSRMSGF to find the messages that contain the word “date” in any case.
system "DSPMSGD RANGE(*FIRST *LAST) MSGF(XUSRMSGF)
To read the discussion or contribute your ideas, visit the thread on the IT Jungle Forums.