Page 1 of 1

Compare & Abend - Syncsort

PostPosted: Tue Nov 18, 2008 6:20 pm
by ranga_subham
Alissa,

Is it possible to compare two files and abend the job if compare fails?

Ex:

File-A contains a number 1000
File-B contains a number 1001
The two numbers are NOT equal the job should abend.

I know using JOINKEYS but don't know how to abend it !!

Please suggest.

Thanks.

Re: Compare & Abend - Syncsort

PostPosted: Tue Nov 25, 2008 8:42 am
by Alissa Margulies
At this time, I do not believe that there is a SyncSort PARM or control statement that will do this easily. Let me look into this further and get back to you.

Re: Compare & Abend - Syncsort

PostPosted: Thu Nov 27, 2008 7:18 pm
by ranga_subham
Is it possible to get some kind of return code if not abend?

Thanks.

Re: Compare & Abend - Syncsort

PostPosted: Wed Dec 03, 2008 3:36 am
by Alissa Margulies
Not at this time.