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
 
Query On Icetool

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

New User


Joined: 21 Aug 2013
Posts: 2
Location: India

PostPosted: Wed Aug 21, 2013 6:42 pm    Post subject: Query On Icetool
Reply with quote

I am trying to achieve the following functionality using ICETOOL. I have two input files.

File 1

11111
22222
33333
44444
77777

File 2

22222
33333
44444
55555
66666

Output file

55555
66666

I want to get all of the records which are there in File 2 but not in File 1, I have tried several options but not able to get the desired results.

Can somebody help me with this, Thanks.
Back to top
View user's profile Send private message

Bill Woodger

DFSORT Moderator


Joined: 09 Mar 2011
Posts: 7314

PostPosted: Wed Aug 21, 2013 6:59 pm    Post subject: Reply to: Query On Icetool
Reply with quote

For this, forget ICETOOL.

It is a simple JOINKEYS with SORT, with JOIN UNPAIRED,F1,ONLY
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8704
Location: Back in jolly old England

PostPosted: Wed Aug 21, 2013 7:24 pm    Post subject:
Reply with quote

Bill, should that not be F2,ONLY ???
Back to top
View user's profile Send private message
Bill Woodger

DFSORT Moderator


Joined: 09 Mar 2011
Posts: 7314

PostPosted: Wed Aug 21, 2013 9:34 pm    Post subject: Reply to: Query On Icetool
Reply with quote

Ah, yes. Thanks. Didn't have time to test it before whacking it into Production :-)
Back to top
View user's profile Send private message
Nitin Goel

New User


Joined: 21 Aug 2013
Posts: 2
Location: India

PostPosted: Wed Aug 21, 2013 9:36 pm    Post subject:
Reply with quote

Thanks Bill, I was able to get the results
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 Query for fetching matching data in t... Poha Eater DB2 10 Mon Jul 09, 2018 6:06 pm
No new posts Varying List Select SQL Query In DB2 ... NikhilGuptaGaya DB2 5 Wed Jun 27, 2018 11:01 pm
No new posts How to force a select query to abend neo4u DB2 7 Mon Apr 23, 2018 1:36 pm
No new posts Query to compare 2 values of 1 column... Poha Eater DB2 13 Fri Mar 09, 2018 10:45 am
No new posts How to replace the below query? pkmurali DB2 12 Tue Feb 27, 2018 9:51 pm

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