Oracle Error RMAN-05530: an UNTIL TIME or SCN cannot be specified with FROM ACTIVE DATABASE

Oracle Error Message

RMAN-05530: an UNTIL TIME or SCN cannot be specified with FROM ACTIVE DATABASE

Reason for the Error

A DUPLICATE with FROM ACTIVE DATABASE was specified along with either a SET UNTIL statment or UNTIL clause on the command. This is not supported. A DUPLICATE FROM ACTIVE DATABASE always creates a copy as of the current time.

Solution

Check the statement and remove the use of UNTIL.