Pages

Tuesday, 29 April 2014

DFSORT REMOVE DUPLICATES

The below sort card helps to remove duplicates in the input files.
Best Sort card

//MATCH EXEC PGM=SORT
//IN1 DD DSN=... input File1 (FB/10)
//IN2 DD DSN=... input File2 (FB/10)
//OUT12 DD SYSOUT=*
 //SYSIN DD *
    SUM FIELDS=NONE
 /*

The other option is OPTION EQUALS. We can eliminate duplicates.

No comments:

Post a Comment

Thank for comment.