To delete a local or global stored script from the recovery catalog.
SCRIPT only at the RMAN prompt.
RMAN must be connected to a recovery catalog and target database, and the catalog database must be open.
To delete a local script, you must be connected to the target database for which the local script is defined.
Quotes must be used around the script name when the name contains either spaces or reserved words.
||Specifies that the script to delete is a global stored script. Otherwise, RMAN will look for a local stored script called
||Specifies the name of the script to delete.|
rman TARGET / CATALOG rman/cat@catdb RMAN> DELETE SCRIPT b_whole_10;
If a local stored script
b_whole_10 is defined, it is deleted. If no local stored script
b_whole_10 is defined but a global stored script
b_whole_10 is defined, the global script is deleted.