Syncsort IFTHEN(WHEN=GROUP)
Posted: Wed Nov 11, 2009 1:16 pm
Hi all,
I am working on a small code to list the limit for a given group of GDG Bases. This is the code I have written. But there seems to be some syntax error in the GROUP parameter. Could any 1 help me on this....
OPTION COPY
INCLUDE COND=(1,8,CH,EQ,C'GDG BASE',OR,8,5,CH,EQ,C'LIMIT')
INREC IFTHEN=(WHEN=GROUP,RECORDS=2,BEGIN=(1,8,CH,EQ,C'GDG BASE'),
PUSH=(35:17,36))
OUTFIL INCLUDE=(8,5,CH,EQ,C'LIMIT'),
BUILD=(35,36,C'HAS A LIMIT OF: ',
17,15,ZD,M11,LENGTH=3)
I am working on a small code to list the limit for a given group of GDG Bases. This is the code I have written. But there seems to be some syntax error in the GROUP parameter. Could any 1 help me on this....
OPTION COPY
INCLUDE COND=(1,8,CH,EQ,C'GDG BASE',OR,8,5,CH,EQ,C'LIMIT')
INREC IFTHEN=(WHEN=GROUP,RECORDS=2,BEGIN=(1,8,CH,EQ,C'GDG BASE'),
PUSH=(35:17,36))
OUTFIL INCLUDE=(8,5,CH,EQ,C'LIMIT'),
BUILD=(35,36,C'HAS A LIMIT OF: ',
17,15,ZD,M11,LENGTH=3)