Administrator's Reference

SET DRMCMDFILENAME (Specify a File Name for Containing the Executable

Commands)

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:

  1. If defined, the directory pointed to by the DSMSERV_DIR environment variable.

  2. If the DSMSERV_DIR environment variable is not defined, the current working directory of the ADSM server process.

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

filename

Specifies a full path file name for containing the executable commands built by MOVE DRMEDIA or QUERY DRMEDIA command. This parameter is required.

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.

Command:
set drmcmdfilename /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.


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]