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: 8735
Location: Welsh Wales

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 on secondary index Suja.Sai IMS DB/DC 0 Wed Oct 31, 2018 9:47 pm
No new posts Query regarding STOP REGION XX ABDU... ashek15 IMS DB/DC 11 Fri Oct 19, 2018 10:13 am
No new posts Facing issue while executing multi ro... aagarwal88 DB2 6 Tue Oct 02, 2018 8:11 am
No new posts DB2 SQL Query to fetch all instances ... MallikarjunSM DB2 2 Thu Sep 27, 2018 6:46 pm
No new posts ICETOOL - Finding keys within a file nartcr DFSORT/ICETOOL 10 Mon Sep 17, 2018 6:39 am

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