deletion of duplicate records

Can any one tell how to delete duplicate records from a databse file using the Adabas utilies.

The only ones coming to my mind as being suitable for the task are

  • ADAMUP
    ADATST

but you’d already have to know what records you are looking for, none of them will automagically delete duplicates out of a set.

Just wondering why you can’t write a NATURAL program or use other means (SQL Gateway, …) for that task ?