Hi,
I am challenged with a problem here
I have a file which has a header record followed by many data records.
Position 10 of the header record can have one out of two sets values. First set of Values being A or B and second set of values being X or Y.
Here is how the file can come in four different ways.
Now if the value of position 10 the header record is A or B, I need to include the data records based on one particular DFSORT card
say INCLUDE COND=(1,3,CH,EQ,C’D01’)
If the value of the header record is X or Y, then I need to include the data records based on another DFSORT card.
say INCLUDE COND=(2,3,CH,EQ,C’D01’)