Problem solve Get help with specific problems with your technologies, process and projects.

Delete duplicate documents in database

I have to delete the duplicate documents in a database. I saw the default agent that comes in the catalog(R5.0)(template or database). I don't know where to change in order to run it for my view. Please help me on this asap(as soon as possible). I need it early because the task is already beyond schedule (the task given to me to write the script to delete the duplicate documents).

You need to copy the agent to the file you want to use it in. You need to create a view where the first column is a key value that determines that the documents are duplicates ( i.e. an account number, transaction identifier, a concatenation of Last and First Names, etc). In the agents code, you will find the following line:

    Set view = db.getView( "($ReplicaID)")

This agent uses the Replica ID field in the documents to determine duplicates. Change the name in quotation marks to the name of your view. The rest should then function to delete duplicate documents.

Dig Deeper on Lotus Notes Domino Administration Tools



  • iSeries tutorials

    Search400.com's tutorials provide in-depth information on the iSeries. Our iSeries tutorials address areas you need to know about...

  • V6R1 upgrade planning checklist

    When upgrading to V6R1, make sure your software will be supported, your programs will function and the correct PTFs have been ...

  • Connecting multiple iSeries systems through DDM

    Working with databases over multiple iSeries systems can be simple when remotely connecting logical partitions with distributed ...