olusu
Sent: Wednesday, November 07, 2012 12:42 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: Data Set Comparison Using Sort
Yifat,
With DFSORT, you can use STOPAFT=1 on the maintask instead of reading all
the joined/unpaired records.
Sample control cards
//STEP0100 EXEC PGM=SORT
//SYSOUT DD SYSOU
M-MAIN@listserv.ua.edu,
> Date: 11/05/2012 06:12 AM
> Subject: Data Set Comparison Using Sort
> Sent by: IBM Mainframe Discussion List
>
> Hello,
>
> I'm doing a Data set comparison using JOINKEYS statements.
>
> I'm trying to find a way to stop the Sort as soon as
Hello,
I'm doing a Data set comparison using JOINKEYS statements.
I'm trying to find a way to stop the Sort as soon as it finds the first
non-matching (UNPAIRED) record - that is, we've determined the data sets are
not identical - no need to keep matching records.
Something like STOPAFT=1 but