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
 
Many to many matching

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

New User


Joined: 22 Mar 2006
Posts: 1

PostPosted: Mon Dec 06, 2010 4:39 pm    Post subject: Many to many matching
Reply with quote

Hi,

I have sample files below like this.

File1

1111 A
1111 B
2222 A
3333 A
3333 B
3333 C
4444 A
4444 B

File2

1111 X
2222 X
2222 Y
2222 Z
3333 X
3333 Y
3333 Z
5555 X

The output required below like this.

1111 A X
1111 B
2222 A X
2222 Y
2222 Z
3333 A X
3333 B Y
3333 C Z
4444 A
4444 B
5555 X

Raki :?:
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: Tue Dec 07, 2010 12:34 am    Post subject:
Reply with quote

This is an odd way of matching so you'd need to explain the rules.

Normally one would expect the output to be like this:

Code:

1111 A X     
1111 B X     
2222 A X     
2222 A Y     
2222 A Z     
3333 A X     
3333 A Y     
3333 A Z     
3333 B X     
3333 B Y     
3333 B Z     
3333 C X     
3333 C Y     
3333 C Z     
...


But you appear to want something different so you have to explain the rules for getting from input to 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 JES2 job size field matching Windows ... SRICOBSAS All Other Mainframe Topics 4 Tue Sep 05, 2017 5:49 pm
No new posts Extract set of records matching on ac... bhaskar_kanteti DFSORT/ICETOOL 3 Mon Mar 06, 2017 7:19 am
No new posts Matching and unmatching records scdinesh DFSORT/ICETOOL 11 Tue Feb 07, 2017 12:41 am
No new posts Matching with Key at different postions. rajatbagga DFSORT/ICETOOL 12 Wed Nov 09, 2016 10:58 am
No new posts TSO Logon Failing - Acount Not matching SLNewton TSO/ISPF 1 Thu Aug 25, 2016 9:37 pm

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