Oracle Error RMAN-06030: the DELETE [ALL] INPUT option may not be used with a datafile backup set

Oracle Error Message

RMAN-06030: the DELETE [ALL] INPUT option may not be used with a datafile backup set

Reason for the Error

The DELETE [ALL] INPUT option was specified for a backup that contains the current control file or datafile.

Solution

Remove the option and resubmit the command.