Difference between COND with 'OR' and 'AND'
Posted: Fri Jan 18, 2013 10:04 pm
Hi,
Can someone please help me out to understand what is the actual difference between COND with 'OR' and 'AND' option
for example
and
I tried to go through manuals but didn't get anything.
Can someone please help me out to understand what is the actual difference between COND with 'OR' and 'AND' option
for example
//SYSIN DD *
SORT FIELDS=COPY
INCLUDE COND=(1,80,CH,NE,C' '),AND,
1,80,SS,NE,C'88 '))
/*
SORT FIELDS=COPY
INCLUDE COND=(1,80,CH,NE,C' '),AND,
1,80,SS,NE,C'88 '))
/*
and
//SYSIN DD *
SORT FIELDS=COPY
INCLUDE COND=(1,80,CH,NE,C' '),OR,
1,80,SS,NE,C'88 '))
/*
SORT FIELDS=COPY
INCLUDE COND=(1,80,CH,NE,C' '),OR,
1,80,SS,NE,C'88 '))
/*
I tried to go through manuals but didn't get anything.