Below job searches for the presence of two strings in the same line
//SEARCH EXEC PGM=ISRSUPC, *
// PARM=(SRCHCMP,
// 'ANYC')
//NEWDD DD *
TWO WORDS
TWO
WORDS
//OUTDD DD SYSOUT=(A)
//SYSIN DD *
SRCHFOR 'TWO',
SRCHFORC 'WORDS'
/*
The output the job will be first record.
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.