In /tmp/a.sql put

SHOW ALL;
QUIT;

then run it using

. oramon
rman target / @/tmp/a.sql >/tmp/b.sql

then edit /tmp/b.sql with your new values, adding “QUIT;” as a new last line.
Then

rman target / @/tmp/b.sql
rman target / @/tmp/a.sql

and check the output is what you wanted.

Advertisements