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
 
SORT excluding matching records record in another input file

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

New User


Joined: 22 Sep 2006
Posts: 2
Location: chennai

PostPosted: Mon May 07, 2007 3:57 pm    Post subject: SORT excluding matching records record in another input file
Reply with quote

How to sort input file excluding matching records record in another input file and write it to another output file?
Back to top
View user's profile Send private message

raak

Active User


Joined: 23 May 2006
Posts: 166
Location: chennai

PostPosted: Mon May 07, 2007 5:42 pm    Post subject:
Reply with quote

Hey,

Show us some examples so that we might be able to understand ur problem well..
and please do search the forum, coz problems of these kind seems to be answered before also... in case it's different, come up with some sample input and the desired output..
Back to top
View user's profile Send private message
mkk157

Active User


Joined: 17 May 2006
Posts: 310

PostPosted: Mon May 07, 2007 5:56 pm    Post subject: Hi
Reply with quote

Hi Raak,

What ananthakumar_e looking for is ?

He has 2 input files and 1 output file. He is comparing 2 input files and writing the unmatched records (excluding the matched records) into the output record.

Please give the solution. I am also looking for it.
Back to top
View user's profile Send private message
sril.krishy

Active User


Joined: 30 Jul 2005
Posts: 183
Location: hyderabad

PostPosted: Mon May 07, 2007 6:26 pm    Post subject:
Reply with quote

mkk157/ananthakumar_e,

By showing the example of input file and expected output files,you will get correct and fast solution.That is thr reason asking for the sample data.

More over there are a lot of posts with the same requirement.Please check before posting.If you won't find the correct solution,then post your question with all the details inclusing the foramat,Lrecl etc.. of the input files.

Thanks
Krishy
Back to top
View user's profile Send private message
expat

Global Moderator


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

PostPosted: Mon May 07, 2007 6:30 pm    Post subject:
Reply with quote

This might help, but you will need to read the manuals to get the correct sysntax. The example in this thread show how to KEEP duplicate records, but the SELECT statement is well shown in the ICETOOL manual.

http://ibmmainframes.com/viewtopic.php?t=20493
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 to fetch record which has only ... maxsubrat DB2 2 Mon Dec 11, 2017 5:03 pm
No new posts Merging 2 records at multiple rows wi... Bijesh DFSORT/ICETOOL 1 Wed Dec 06, 2017 1:50 am
No new posts File Tailoring -- Temporary dataset i... samzee71 CLIST & REXX 3 Fri Dec 01, 2017 3:12 am
No new posts Rexx - File tailoring samzee71 CLIST & REXX 10 Thu Nov 30, 2017 10:47 pm
No new posts Extract record for change in combinat... Trinadh DFSORT/ICETOOL 6 Thu Nov 23, 2017 3:32 pm

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