View previous topic :: View next topic
|
Author |
Message |
rajkumarmf1985
New User
Joined: 09 Aug 2010 Posts: 18 Location: bangalore
|
|
|
|
Hi ,
I want to remove duplicates from a FB file with LRECL = 12000 and to write dups into another file. My requirement is to compare whole record without sorting the file.
Could anyone please help me on this.
Thanks,
Raja |
|
Back to top |
|
|
Bill Woodger
Moderator Emeritus
Joined: 09 Mar 2011 Posts: 7309 Location: Inside the Matrix
|
|
|
|
Can you run this and post the full sysout, so we can see what level of sort you have, please?
Code: |
//S1 EXEC PGM=SORT
//SYSOUT DD SYSOUT=*
//SORTIN DD *
RECORD
/*
//SORTOUT DD DUMMY
//SYSIN DD *
OPTION COPY
/* |
|
|
Back to top |
|
|
Skolusu
Senior Member
Joined: 07 Dec 2007 Posts: 2205 Location: San Jose
|
|
|
|
rajkumarmf1985 wrote: |
Hi ,
I want to remove duplicates from a FB file with LRECL = 12000 and to write dups into another file. My requirement is to compare whole record without sorting the file.
Could anyone please help me on this.
Thanks,
Raja |
Unless the data is sorted there is no way to determine the duplicates. Moreover the 12000 is way beyond the max length of 4092 bytes that sort can handle. |
|
Back to top |
|
|
|