Skip Headers
Oracle® Database Backup and Recovery Reference
10g Release 2 (10.2)

Part Number B14194-03
Go to Documentation Home
Home
Go to Book List
Book List
Go to Table of Contents
Contents
Go to Index
Index
Go to Master Index
Master Index
Go to Feedback page
Contact Us

Go to previous page
Previous
Go to next page
Next
View PDF

EXECUTE SCRIPT

Syntax

executeScript::=

Description of executescript.gif follows
Description of the illustration executescript.gif

Purpose

To run a local or global RMAN script stored in the recovery catalog.

See Also:

"CREATE SCRIPT" and Oracle Database Backup and Recovery Advanced User's Guide for more details about stored scripts

Restrictions and Usage Notes

Keywords and Parameters

Syntax Element Description
GLOBAL Specifies the execution of a global stored script instead of a local one.
'script_name' The name of the stored script to execute.

If no local stored script defined for the current target database is found with the name specified, RMAN searches for a global script by the same name and executes it if one is found.

See Also: "LIST" for more information about listing the scripts stored in the recovery catalog, and "CREATE SCRIPT" for information about creating scripts


Example

Executing a Script: Example This example runs a stored script called backup_whole_10:

RUN { EXECUTE script backup_whole_10; }