Need advise on howto use INCLUDE COND when multiple conditions are to be met.
I have verified many threads regarding this and have tried many combinations, yet i am stuck to get proper syntax. Please advise.
//SYSIN DD *
SORT FIELDS=COPY
INCLUDE COND=(2,7,CH,EQ,C'IGD107I'
,AND,55,10,CH,EQ,C'ROLLED IN,'
,AND,
(9,29,CH,EQ,C'BST7SYST.APB.MD.TRIGGER.FINAL',OR,
9,29,CH,EQ,C'BST7SYST.APB.MD.CONFIRM.FINAL',OR,
9,25,CH,EQ,C'BST7SYST.APB.MD.DATARDW.G'))
/*
SORT FIELDS=COPY
INCLUDE COND=(2,7,CH,EQ,C'IGD107I'
,AND,55,10,CH,EQ,C'ROLLED IN,'
,AND,
(9,29,CH,EQ,C'BST7SYST.APB.MD.TRIGGER.FINAL',OR,
9,29,CH,EQ,C'BST7SYST.APB.MD.CONFIRM.FINAL',OR,
9,25,CH,EQ,C'BST7SYST.APB.MD.DATARDW.G'))
/*
Following is the error details from spool
SYSIN :
SORT FIELDS=COPY
INCLUDE COND=(2,7,CH,EQ,C'IGD107I',AND,55,10,CH,EQ,C'ROLLED IN,'
*
,AND,
*
(9,29,CH,EQ,C'BST7SYST.APB.MD.TRIGGER.FINAL',OR,
*
9,29,CH,EQ,C'BST7SYST.APB.MD.CONFIRM.FINAL',OR,
*
9,25,CH,EQ,C'BST7SYST.APB.MD.DATARDW.G'))
*
WER251A INCLUDE/OMIT INVALID LOGICAL OPERATOR
WER275A NO KEYWORDS FOUND ON CONTROL STATEMENT
WER275A NO KEYWORDS FOUND ON CONTROL STATEMENT
WER275A NO KEYWORDS FOUND ON CONTROL STATEMENT
WER275A NO KEYWORDS FOUND ON CONTROL STATEMENT
SORT FIELDS=COPY
INCLUDE COND=(2,7,CH,EQ,C'IGD107I',AND,55,10,CH,EQ,C'ROLLED IN,'
*
,AND,
*
(9,29,CH,EQ,C'BST7SYST.APB.MD.TRIGGER.FINAL',OR,
*
9,29,CH,EQ,C'BST7SYST.APB.MD.CONFIRM.FINAL',OR,
*
9,25,CH,EQ,C'BST7SYST.APB.MD.DATARDW.G'))
*
WER251A INCLUDE/OMIT INVALID LOGICAL OPERATOR
WER275A NO KEYWORDS FOUND ON CONTROL STATEMENT
WER275A NO KEYWORDS FOUND ON CONTROL STATEMENT
WER275A NO KEYWORDS FOUND ON CONTROL STATEMENT
WER275A NO KEYWORDS FOUND ON CONTROL STATEMENT