ibmi-brunch-learn

Announcement

Collapse
No announcement yet.

using GREP to find string in message

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • using GREP to find string in message

    This will search the message file QCPFMSG for the
    word JOB in upper and lower case.

    type STRQSH

    then on command line

    PHP Code:
    system "DSPMSGD RANGE(*FIRST *LAST) MSGF(QCPFMSG)
    DETAIL(*BASIC)" 
    grep "[Jj][Oo][Bb]" 




    jamie
    All my answers were extracted from the "Big Dummy's Guide to the As400"
    and I take no responsibility for any of them.

    www.code400.com
Working...
X