I am able to use a shell script to duplicate target (host 1) to auxiliary (host 2) from target backup done via TDPO channel.

In my shop, currently, there are automated cloneing process done via recreating control file and restore/clone from user managed TSM backup.

The dev db cloneing process happens every morning to clone from latest Prod backup.

How do I specify in the RMAN duplicate run block so that the duplicate process automatically picks up the latest TARGET database RMAN backup?

Welcome to any advise!!!!