HP StorageWorks P9000 Command View Advanced Edition Suite Software 7.0 Mainframe Agent Installation and Configuration Guide (TB581-96014, November 2010)

Return Values
0: Normal termination
Any value other than 0: Termination with an error
Conditions Causing an Error
This extended command fails in the following cases:
An invalid option is specified.
The file specified in the argument does not exist, or the system cannot access the file.
The system cannot access the database server (when the -db option is specified).
The system detects an error in the results of the file check.
The command fails to create a temporary directory.
The command fails to obtain the name of the dictionary map files storage directory.
Examples
In this example, the extended command is used to check the contents of the operation definition file
C:\Program Files\drm\SCRIPT\conf\_OP0001.dat for a database server:
By specifying an operation ID:
EX_DRM_SQL_DEF_CHECK OP0001 -db
By specifying an operation definition file:
EX_DRM_SQL_DEF_CHECK -db -f "C:\Program Files\drm\script\conf\_OP0001.dat"
In this example, the extended command is used to check the contents of the operation definition file
C:\Program Files\drm\SCRIPT\conf\_OP0001.dat for a backup server:
By specifying an operation ID:
EX_DRM_SQL_DEF_CHECK OP0001 -bk
By specifying the operation definition file name:
EX_DRM_SQL_DEF_CHECK -bk -f "C:\Program Files\drm\script\conf\_OP0001.dat"
EX_DRM_SQL_RESTORE (Restores an SQL Server database backup to the primary
volume)
Formats
To restore data by resynchronizing the primary and secondary volumes:
EX_DRM_SQL_RESTORE operation-ID -resync [ -force ] [ -undo ]
[ -nochk_host ]
[ -target database(s) | -f database-list-file ]
[ -pf copy-parameter-definition-file]
CLI Reference Guide 55