Oracle Error RMAN-05598: SPFILE and PFILE clause specified in command

Oracle Error Message

RMAN-05598: SPFILE and PFILE clause specified in command

Reason for the Error

SPFILE and PFILE clauses were specified for duplicate command causing a conflict.

Solution

Remove either one of the clauses and retry the command.