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
 
Comparison of two VSAM Files.

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

New User


Joined: 29 Mar 2006
Posts: 2
Location: Bangalore

PostPosted: Fri Mar 31, 2006 12:11 pm    Post subject: Comparison of two VSAM Files.
Reply with quote

hi , i need help , here is the situation,

there are 2 files( vsam ksds of record length 1500) around 3 millions of data.

one is a master file and another is updated file (having same structure)

i need to compare these two files and write the difference in to third file and delete the record in the master file.

i should write a procedure that has to run on daily schedule.

is there any feasible method other than writeing program, as i need to compare 120 files in the similar manner.

if programing is the only better way,please send me some sample code.

kishore
Back to top
View user's profile Send private message

martin9

Active User


Joined: 01 Mar 2006
Posts: 290
Location: Basel, Switzerland

PostPosted: Fri Mar 31, 2006 7:15 pm    Post subject:
Reply with quote

hy luvkishore75,

note that any vsam file is managing itself,
therefore you cannot be sure, if the sequence
will be the same...
therefore unload the vsam files sequentially using idcams
repro, and compare them in the manner you need.
use then icetool to do this for you...

martin9
Back to top
View user's profile Send private message
luvkishore75

New User


Joined: 29 Mar 2006
Posts: 2
Location: Bangalore

PostPosted: Tue Apr 04, 2006 2:10 pm    Post subject: Re: Comparison of two VSAM Files.
Reply with quote

Hi Martin,

Thanks for ur solution.

To elobarate more :

There are 2 files( vsam ksds of record length 1500) around 3 millions of data.

one is a master file and another is updated file (having same structure)

i need to compare these two files and write the difference in to third file and delete the record in the master file.

i should write a procedure that has to run on daily schedule.

is there any feasible method other than writeing program, as i need to compare 120 files in the similar manner.

Can you just reply with sample code?

Thanks in Advance.
nanda Kishore
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 VSAM RLS Wait time blayek JCL & VSAM 2 Mon Oct 02, 2017 9:05 pm
No new posts FTP Skip or ignore error and process ... AJAYREDDY All Other Mainframe Topics 3 Wed Sep 27, 2017 8:12 pm
No new posts Comparing 2 Files using Current time arunsoods SYNCSORT 9 Fri Sep 22, 2017 6:00 pm
No new posts Split 1 file into 10 output Files - S... Prasanth Kumar SYNCSORT 5 Sat Sep 16, 2017 12:02 am
No new posts Join records from 2 files with No Dup... Poha Eater DFSORT/ICETOOL 22 Sun Aug 27, 2017 10:35 pm

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