Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups 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: 7308

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: 8593
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: 7308

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 JCL to Set Return code based on DB2 S... vinu78 DB2 17 Mon Mar 13, 2017 9:47 pm
No new posts SQL query not working in Cobol program. CuriousMainframer COBOL Programming 14 Wed Feb 22, 2017 5:56 pm
No new posts Omegamon for DB2 query ashek15 DB2 0 Wed Feb 15, 2017 11:25 am
No new posts Query on DB2 WLM stored procedures ashek15 DB2 8 Sun Feb 12, 2017 11:13 pm
No new posts Converting decimal to numeric using I... Balaryan DFSORT/ICETOOL 4 Thu Feb 02, 2017 11:27 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us