Thanks for the help. However, I am not getting this error....


RMAN-08024: channel CH2: restore complete
RMAN-06162: sql statement: CREATE CONTROLFILE REUSE SET DATABASE "ICRMDB2" RESET
LOGS ARCHIVELOG
MAXLOGFILES 32

RMAN-03026: error recovery releasing channel resources
RMAN-08031: released channel: CH1
RMAN-08031: released channel: CH2
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure during compilation of command
RMAN-03013: command type: Duplicate Db
RMAN-06136: ORACLE error from auxiliary database: ORA-01503: CREATE CONTROLFILE
failed
ORA-01504: database name 'ICRMDB2' does not match parameter db_name 'OEMREP'
RMAN-06097: text of failing SQL statement: CREATE CONTROLFILE REUSE SET DATABASE
"ICRMDB2" RESETLOGS ARCHIVELOG