hi kolusu,
your method worked, but i didn't understand why my method did not work, can u give me some info regarding it and also, can i use mutiple oufil with different omit cond :
Code:
//SYSIN DD *
INCLUDE COND=(47,4,ZD,EQ,0671)
SORT FIELDS=(27,4,PD,A)
SUM FIELDS=NONE
OUTFIL FNAMES=CATEG,OMIT=(31,5,PD,LT,20050320)
OUTFIL FNAMES=CATEG2,OMIT=(31,5,PD,LT,20050321)
OUTFIL FNAMES=CATEG3,OMIT=(31,5,PD,LT,20050322)
Joined: 02 Dec 2002 Posts: 1618 Topics: 31 Location: San Jose
Posted: Wed Oct 26, 2005 10:49 am Post subject:
Quote:
i didn't understand why my method did not work, can u give me some info regarding it and also, can i use mutiple oufil with different omit cond
You can use one INCLUDE or OMIT statement. The INCLUDE or OMIT statement is processed before the SORT statement. You can use one or more OUTFIL statements, each of which can have one INCLUDE or OMIT operand. The OUTFIL statements are processed after the SORT statement.
Your "method" didn't work because you had both an INCLUDE and an OMIT statement, and only one is allowed. Also, you had:
Code:
OUTFIL FNAMES=CATEG,
which is a syntax error because the comma at the end tells DFSORT to expect another parameter and you don't have one.
Kolusu corrected your syntax and used an INCLUDE statement, and an OUTFIL statement with an OMIT parameter, which is allowed. _________________ Frank Yaeger - DFSORT Development Team (IBM)
Specialties: JOINKEYS, FINDREP, WHEN=GROUP, ICETOOL, Symbols, Migration
DFSORT is on the Web at:
www.ibm.com/storage/dfsort
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum