This command only applies to environments licensed to use the ADSM Disaster Recovery Manager (DRM) feature.
Use the SET DRMCMDFILENAME command to specify a file name that will contain the commands specified with CMD parameter on MOVE DRMEDIA or on QUERY DRMEDIA FORMAT=CMD command. This file name is used when the MOVE DRMEDIA CMD and QUERY DRMEDIA FORMAT=CMD command is issued without specifying CMDFILENAME parameter.
Use the SET DRMCMDFILENAME to specify the default file name to be used by the MOVE DRMEDIA or QUERY DRMEDIA command.
If a file name has not been set with the SET DRMCMDFILENAME, the MOVE DRMEDIA or QUERY DRMEDIA command will generate the command file name by appending the string 'exec.cmds' to the ADSM server directory. The server directory is determined in the following order:
You can use the QUERY DRMSTATUS command to display the current file name for containing the executable commands. At installation, this default command file name is not set.
Privilege Class
To issue this command, you must have system privilege.
Syntax
>>-Set DRMCMDFilename--filename--------------------------------><
Parameters
This file name is used when the MOVE DRMEDIA CMD or QUERY DRMEDIA FORMAT=CMD command is issued without the CMDFILENAME parameter. MOVE DRMEDIA or QUERY DRMEDIA automatically create this file name.
Examples
Task
Specify to store the generated executable commands in a file /adsm/drm/orm/exec.cmds.
Related Commands
Table 191. Commands Related to SET DRMCMDFILENAME
| Command | Description |
|---|---|
| MOVE DRMEDIA | Move DRM media offsite and back onsite |
| QUERY DRMEDIA | Query DRM media |
| QUERY DRMSTATUS | Displays DRM system parameters. |