Joined: 18 Jul 2007 Posts: 2146 Location: At my coffee table
Jeez, give it time.....
It's Saturday morning here in the US, not a work day and before breakfast.....
By the way, does it work?
How long does it take for how many records?
As far as I know, it looks fairly standard, do you have in mind other ways to do this?
Joined: 15 Feb 2005 Posts: 7129 Location: San Jose, CA
bhanu_meeduri,
I question why you need KEEPBASE, but then you haven't really told us what your input records look like or what your expected output should look like so it's difficult to comment.
As Dick said, a DFSORT JOINKEYS job might be more efficient but we don't know if you have JOINKEYS available, or again what exactly you're trying to do.
What exactly I am doing was just I want to find maching records; both file formats are same *LRECL=83;
One file having unique records and other file having duplicates records on Key position (17,10 PD).
Read the Driver file (unique key file) and find the mathings in 2nd file ( dup. key file) write matchings in one file and not matchings into another file
I am not clear when should I use KEEPNODUPS and KEEPBASE when should not. and also I am not sure combination of usage.
I read the SPLICE operator allows to use KEEPBASE option to keep the base records as well as the spliced records. but I am not clear when can be used and not.
We do not have latest PTFs in production region and also there is a variation between Test and Prod regions. So I am not using JOINKEY Operator