IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

SORT excluding matching records record in another input file


IBM Mainframe Forums -> DFSORT/ICETOOL
Post new topic   Reply to topic
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
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
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
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
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: 8797
Location: Welsh Wales

PostPosted: Mon May 07, 2007 6:30 pm
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> DFSORT/ICETOOL

 


Similar Topics
Topic Forum Replies
No new posts Compare 2 files and retrive records f... DFSORT/ICETOOL 2
No new posts Compare 2 files(F1 & F2) and writ... JCL & VSAM 8
No new posts TRIM everything from input, output co... DFSORT/ICETOOL 1
No new posts FTP VB File from Mainframe retaining ... JCL & VSAM 8
No new posts Need to set RC4 through JCL SORT DFSORT/ICETOOL 5
Search our Forums:

Back to Top