Oracle Message RMAN-06572 - database is open and datafile number is not offline

ERRORdatabase is open and datafile number is not offline
CAUSEThe SWITCH command with the option TO COPY was specified, but datafile is not offline and database is open.
ACTIONEither make sure the datafile is offline or the database must be mounted but not opened.