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: 8687
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
This topic is locked: you cannot edit posts or make replies. To remove spaces in a variable length... Selvarajars JCL & VSAM 1 Thu Jun 21, 2018 1:07 pm
No new posts B059 PREMATURE END OF FILE mvmadhuvenkatesh CA Products 5 Tue Jun 19, 2018 10:50 am
No new posts Formating output file Niki DFSORT/ICETOOL 3 Fri Jun 15, 2018 3:27 pm
No new posts Need help on TDQ load from file using... subratarec CICS 4 Wed Jun 13, 2018 11:32 pm
No new posts How to Count a particular record in a... Mounika Nemani DFSORT/ICETOOL 5 Tue May 29, 2018 1:07 pm

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