Author: chandracdac
Subject: Final solution
Posted: Fri Dec 09, 2016 11:07 pm (GMT 5.5)
Ok so this is what i have done finally and i got my desired result:
SELECT FROM(inputfile ) TO(outputfile1)-
ON(01,03,CH) ON(04,03,CH) ON(09,08,CH)-
FIRST DISCARD(SORTXSUM)-
USING(CTL1)
COPY FROM(inputfile ) TO(outputfile2)-
USING(CTL2)
and my CTL1 is
INCLUDE COND=(07,2,CH,EQ,C'a1')
and my CTL2 is
INCLUDE COND=(07,2,CH,NE,C'a1')
i got my result in two different files outputfile1 and outputfile2 and i am ok with that.
Subject: Final solution
Posted: Fri Dec 09, 2016 11:07 pm (GMT 5.5)
Ok so this is what i have done finally and i got my desired result:
SELECT FROM(inputfile ) TO(outputfile1)-
ON(01,03,CH) ON(04,03,CH) ON(09,08,CH)-
FIRST DISCARD(SORTXSUM)-
USING(CTL1)
COPY FROM(inputfile ) TO(outputfile2)-
USING(CTL2)
and my CTL1 is
INCLUDE COND=(07,2,CH,EQ,C'a1')
and my CTL2 is
INCLUDE COND=(07,2,CH,NE,C'a1')
i got my result in two different files outputfile1 and outputfile2 and i am ok with that.