IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Eliminating duplicates in a file with with LRECL = 12000


IBM Mainframe Forums -> DFSORT/ICETOOL
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
rajkumarmf1985

New User


Joined: 09 Aug 2010
Posts: 18
Location: bangalore

PostPosted: Wed Apr 03, 2013 8:45 pm
Reply with quote

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
View user's profile Send private message
Bill Woodger

Moderator Emeritus


Joined: 09 Mar 2011
Posts: 7309
Location: Inside the Matrix

PostPosted: Wed Apr 03, 2013 8:58 pm
Reply with quote

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
View user's profile Send private message
Skolusu

Senior Member


Joined: 07 Dec 2007
Posts: 2205
Location: San Jose

PostPosted: Wed Apr 03, 2013 10:23 pm
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> DFSORT/ICETOOL

 


Similar Topics
Topic Forum Replies
No new posts WER247A SORTOUT HAS INCOMPATIBLE LRECL SYNCSORT 2
No new posts FTP VB File from Mainframe retaining ... JCL & VSAM 8
No new posts Extract the file name from another fi... DFSORT/ICETOOL 6
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
Search our Forums:

Back to Top