Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
How to Get Duplicate Records

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL
View previous topic :: :: View next topic  
Author Message
Chirag Dhull

New User


Joined: 29 Aug 2008
Posts: 8
Location: Bangalore

PostPosted: Fri Aug 29, 2008 1:18 pm    Post subject: How to Get Duplicate Records
Reply with quote

Hi,

I need to find the Duplicate Records when comparing two copies of the same file . one copy has the duplicates , other doesnt .

For Eg : -

File A :-
A
B
C
B
D
E
D

File B : -
A
B
C
D
E

So , i want the Output file to have O/p :
B
D

Is it possible without using Comparex??
Back to top
View user's profile Send private message

Frank Yaeger

DFSORT Moderator


Joined: 15 Feb 2005
Posts: 7130
Location: San Jose, CA

PostPosted: Fri Aug 29, 2008 9:46 pm    Post subject:
Reply with quote

It's not clear what you want to do. Your example doesn't make it clear which records in which input files you want in the output file. Please show a better example of your input records and what you want for output with all relevant variations, and explain the "rules" for getting from input to output. For example:

The key is in position 1. The other field is an "identifier".

Code:

File A :-
A  F1A1
B  F1B1
C  F1C1
B  F1B2
D  F1D1
E  F1E1
D  F1D2

File B : -
A  F2A1
B  F2B1
C  F2C1
D  F2D1
E  F2E1

Output

????
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Merging records, but not all the time prino DFSORT/ICETOOL 2 Sat Feb 17, 2018 4:20 pm
No new posts Need all records with high key kalidasvs SYNCSORT 13 Fri Feb 09, 2018 10:38 pm
No new posts Why is SORT rearranging records that ... cschablow DFSORT/ICETOOL 4 Wed Jan 24, 2018 10:14 pm
No new posts Skip records depends on count lakshmiibmmainframes DFSORT/ICETOOL 5 Sun Dec 24, 2017 9:51 pm
No new posts Compare two PS files using ICE TOOL f... SENTHIL MURUGAAN DFSORT/ICETOOL 5 Sun Dec 24, 2017 1:26 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us