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

Query On Icetool


IBM Mainframe Forums -> DFSORT/ICETOOL
Post new topic   Reply to topic
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
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

Moderator Emeritus


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

PostPosted: Wed Aug 21, 2013 6:59 pm
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: 8798
Location: Welsh Wales

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

Bill, should that not be F2,ONLY ???
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 Aug 21, 2013 9:34 pm
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
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 All times are GMT + 6 Hours
Forum Index -> DFSORT/ICETOOL

 


Similar Topics
Topic Forum Replies
No new posts DB2 Query to get the count of Unique ... DB2 2
No new posts Denomination counts by using PARSE in... DFSORT/ICETOOL 8
No new posts Need help with ADABAS query (COBOL-AD... All Other Mainframe Topics 1
No new posts ICETOOL to SUM String DFSORT/ICETOOL 1
No new posts ICETOOL returns no records JCL & VSAM 1
Search our Forums:


Back to Top