Question: While deleting an existing GDG(Generation Data Groups) we can use either 'force' or 'purge'. Can you please tell me when to use 'force' or 'purge'?
Answer: Each dataset in a GDG has a catalog entry within the GDG that identifies it as belonging to the GDG and also has an expiry date as to when that caltalog entry will be deleted.
PURGE allows you to delete the catalog entry before the expiry date is reached. The dataset will still exist but will no longer be a part of the GDG.
FORCE allows you to delete the catalog entry and the dataset provided that the expiry date has been reached.
FORCE PURGE allows you to delete the catalog entry and dataset before the expiry date is reached.
This article written by Stephen Chapman, Felgall Pty Ltd.