The below sort card helps how to show Include and Cond.
DFSORT INCLUDE AND COND
Best Sort card
Ex:1
//MATCH EXEC PGM=SORT
//IN1 DD DSN=... input File1 (FB/10)
//IN2 DD DSN=... input File2 (FB/10)
//SORTOUT DD SYSOUT=* ...without duplicate records
//SYSIN DD *
INCLUDE FORMAT=BI, COND=(5,4,LT,11,4,OR,21,4,EQ,31,4,OR, 61,20,SS,EQ,C’FLY’) OUTFIL INCLUDE=(5,4,BI,LT,11,4,BI,OR,21,4,BI,EQ,31,4,BI,OR, 61,20,SS,EQ,C’FLY’)
/*
INCLUDE with COND => Applies only on input data set
OUTFIL INCLUDE => It applies on output dataset
DFSORT INCLUDE AND COND
Best Sort card
Ex:1
//MATCH EXEC PGM=SORT
//IN1 DD DSN=... input File1 (FB/10)
//IN2 DD DSN=... input File2 (FB/10)
//SORTOUT DD SYSOUT=* ...without duplicate records
//SYSIN DD *
INCLUDE FORMAT=BI, COND=(5,4,LT,11,4,OR,21,4,EQ,31,4,OR, 61,20,SS,EQ,C’FLY’) OUTFIL INCLUDE=(5,4,BI,LT,11,4,BI,OR,21,4,BI,EQ,31,4,BI,OR, 61,20,SS,EQ,C’FLY’)
/*
INCLUDE with COND => Applies only on input data set
OUTFIL INCLUDE => It applies on output dataset
No comments:
Post a Comment
Thank for comment.