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: 8797
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> DFSORT/ICETOOL

 


Similar Topics
Topic Forum Replies
No new posts RC query -Time column CA Products 3
No new posts Shift left VB record without x00 endi... DFSORT/ICETOOL 11
No new posts how to calculate SUM value for VB fil... DFSORT/ICETOOL 1
No new posts how to calculate SUM for VB file usin... JCL & VSAM 1
No new posts Dynamically pass table name to a sele... DB2 2
Search our Forums:

Back to Top