Oracle Message RMAN-03032 - this option of set command needs to be used outside of a run block

ERRORthis option of set command needs to be used outside of a run block
CAUSEThe option used with the SET command is not valid inside of a run block.
ACTIONChange the SET command or place it outside a run block.