SET DRMCMDFILENAME (Specify the name of a file to contain commands)

Use this command to name a file that can contain the commands created when the MOVE DRMEDIA or QUERY DRMEDIA commands are issued. If the SET DRMCMDFILENAME is not issued, the MOVE DRMEDIA or QUERY DRMEDIA command generates a file name.

Use the QUERY DRMSTATUS command to display the current command file name.

Privilege class

To issue this command, you must have system privilege.

Syntax

Read syntax diagramSkip visual syntax diagramSet DRMCMDFilename file_name

Parameters

file_name (Required)

Linux operating systemsAIX operating systemsSpecifies a full path name for a file to contain the commands created by the MOVE DRMEDIA or QUERY DRMEDIA command.

Windows operating systemsSpecifies a full path name for a file to contain the commands created by the MOVE DRMEDIA or QUERY DRMEDIA command. The file name can be up to 259 characters.

Attention: If a file of the same name already exists, MOVE DRMEDIA or QUERY DRMEDIA command tries to use it, and the existing data is overwritten.

Example: Specify a file name to contain DRMEDIA commands

Linux operating systemsAIX operating systemsSpecify a file name of /adsm/drm/orm/exec.cmds.
set drmcmdfilename /adsm/drm/orm/exec.cmds
Windows operating systemsSpecify a file name of c:\drm\orm\exec.cmd.
set drmcmdfilename c:\drm\orm\exec.cmd

Related commands

Table 1. Commands related to SET DRMCMDFILENAME
Command Description
MOVE DRMEDIA Moves DRM media onsite and offsite.
QUERY DRMEDIA Displays information about disaster recovery volumes.
QUERY DRMSTATUS Displays DRM system parameters.