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

To pic only changed records


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

New User


Joined: 07 Dec 2006
Posts: 51
Location: Bloomington

PostPosted: Tue Jul 05, 2011 2:22 pm
Reply with quote

Hi,

I would like to know if there is any way to compare two records and bringout only the changed record in the output file.

I am getting a large volume of data and I am processing whole data at present. We are getting already received data in the input file, so instead of processing already processed record, I would like to process only delta records (i.e new or record with updated information).

Does any one is aware of any utility with which I can bring out only delta records.

Thanks and Regards,
Rajkumar Nerella
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Tue Jul 05, 2011 2:47 pm
Reply with quote

Rajkumar Nerella,

dfsort can do this, conditionally.

what conditions? depends on a little more input from you.

or you could skip having to explain yourself,
and search the forum for
1 of probably 20 or 30 similar requests for someone else to think for you and do your job
Back to top
View user's profile Send private message
sqlcode1

Active Member


Joined: 08 Apr 2010
Posts: 577
Location: USA

PostPosted: Tue Jul 05, 2011 8:02 pm
Reply with quote

Rajkumar_n,
Are you trying to compare records from 2 different files or 2 records in the same file?

Please provide sample input and expected output along with LRECL and RECFM for input and expected output. Also mention if you want to compare just the key fields or the entire record itself.

Last but not the least, provide us with your DFSort function level as well. Refer to this post on how to find your DFSort function level.

ibmmainframes.com/viewtopic.php?t=33389

Thanks
Back to top
View user's profile Send private message
Frank Yaeger

DFSORT Developer


Joined: 15 Feb 2005
Posts: 7129
Location: San Jose, CA

PostPosted: Tue Jul 05, 2011 11:47 pm
Reply with quote

Rajkumar,

You can use DFSORT's JOINKEYS function to do this kind of thing. For more details, see the "Create files with matching and non-matching records" Smart DFSORT Trick at:

www.ibm.com/support/docview.wss?rs=114&uid=isg3T7000094

If you need more specific help, give more detailed information on what you want to do, including an example of input and expected output.
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 3
No new posts Compare 2 files(F1 & F2) and writ... JCL & VSAM 8
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
Search our Forums:

Back to Top