rman backup using skip option
getting this error when trying to use the skip command:
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-00558: error encountered while parsing input commands
RMAN-01009: syntax error: found "skip": expecting one of: "advise, allocate, alter, backup, @, catalog, change, configure, convert, copy, crosscheck, delete, duplicate, execute, flashback, host, mount, open, recover, release, repair, report, restore, resync, send, set, show, shutdown, sql, startup, switch, transport, validate, "
RMAN-01007: at line 3 column 1 file: standard input
script looks like:
rman auxiliary sys/new_z00 <<EOF
run
{
SKIP TABLESPACE BANLOB,R25,APEX,FLOW_6
SET NEWNAME FOR DATAFILE '/u02/oradata/LCCC/system_LCCC_01.dbf' to
'/u06/oradata/TEST/system_TEST_01.dbf';