View previous topic :: View next topic
|
Author |
Message |
luvkishore75
New User
Joined: 29 Mar 2006 Posts: 2 Location: Bangalore
|
|
|
|
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 |
|
|
martin9
Active User
Joined: 01 Mar 2006 Posts: 290 Location: Basel, Switzerland
|
|
|
|
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 |
|
|
luvkishore75
New User
Joined: 29 Mar 2006 Posts: 2 Location: Bangalore
|
|
|
|
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 |
|
|
|