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

separating matching and non matching records


IBM Mainframe Forums -> DFSORT/ICETOOL
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Ankurjain299

New User


Joined: 03 Feb 2007
Posts: 2
Location: india

PostPosted: Wed Jun 09, 2010 7:37 pm
Reply with quote

Hi all,

I have two files
both the files have same structure and record length 120,
both the files contains following record

SSN NO => 1:10
Plan No => 15:5
And Package No => 75:5

I want to compare those two file and write into a file if SSN no. and plan no. matches and package no. doesn't match.
Also all the other records should be written in another file

'
could any body advise how to get this using Sort/Icetool

Thanks in advance
Back to top
View user's profile Send private message
Skolusu

Senior Member


Joined: 07 Dec 2007
Posts: 2205
Location: San Jose

PostPosted: Wed Jun 09, 2010 11:33 pm
Reply with quote

Ankurjain299,


Check the smart DFSORT trick "Create files with matching and non-matching records" here

www.ibm.com/support/docview.wss?rs=0&uid=isg3T7000094
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 only first records of the fil... SYNCSORT 7
No new posts Pulling a fixed number of records fro... DB2 2
No new posts Join multiple records using splice DFSORT/ICETOOL 5
No new posts EZT program to build a flat file with... All Other Mainframe Topics 9
No new posts JCL sortcard to print only the records DFSORT/ICETOOL 11
Search our Forums:

Back to Top