This documentation supports the 9.1 to 9.1 Service Pack 3 version and its patches of BMC Atrium Core. The documentation for version 9.1.04 and its patches is available here.

To view the latest version, select the version from the Product version menu.

cmdbdriver command line options

You can specify login parameters, as shown in the following table, when you invoke the cmdbdriver program from the command line. These parameters are applicable to both UNIX and Microsoft Windows environments. When you execute the cmdbdriver program, the system displays the list of commands. When you run cmdbdriver from the command line with these parameters, you do not need to use the log command.

cmdbdriver command line parameters


Command line parameter

Description

Usage

-u <user>

Specify the BMC Remedy AR System user name for the login.

cmdbdriver.exe -u Demo

-a <authorString>

Specify the BMC Remedy AR System authorization string for the login.

cmdbdriver.exe -a <ARSystemAuthorizationString>

-p <password>

Specify the BMC Remedy AR System password for the login.

cmdbdriver.exe -u Demo -a -p

-1 <locale>

Specify the locale in which you want to work.

cmdbdriver.exe -l fr

-s <server>

Specify the BMC Remedy AR System server name to connect to for the cmdbdriver session.

cmdbdriver.exe -u Demo -a -p -s localhost

-x <inputFileFullpath>

Use cmdbdriver commands from an input file.

cmdbdriver.exe -x cmdb.in

-t <portNumber>

Specify the BMC Remedy AR System port number.

cmdbdriver.exe -t 8080

-q <quietModeNumber>

A binary value indicating the quiet mode in which you want the cmdbdriver to operate. You can combine any of the following numbers to suppress different details that might be printed at a time. For example, to suppress the cmdbdriver menu and headers, type 10 for this parameter.

  • 0: NO_SUPPRESSION
  • 1: SUPPRESS_RESULTS
  • 2: SUPPRESS_HEADERS
  • 4: SUPPRESS_PROMPTS
  • 8: SUPPRESS_MENU
  • 16: SUPPRESS_ERRORS
  • 32: SUPPRESS_WARNINGS
  • 64: SUPPRESS_TIME
  • 128: SUPPRESS_DATE

cmdbdriver.exe -q 10

Commands that record your cmdbdriver commands

You can use the rec and srec commands of the cmdbdriver program to record cmdbdriver commands. The rec command starts recording the commands that you use at the prompt and srec stops recording commands.

When you type the rec command, you are prompted for the name of the file in which to store these commands. After you record the commands in a file, you can execute it at the cmdbdriver prompt by using the execute command and specifying the file name.

cmdbdriver and scripts

As an alternative to using the command line, you can use a script file that contains the cmdbdriver commands and execute it at the cmdbdriver prompt. You can create this script file using any text editor, such as Notepad.

Tip

To execute the commands stored in a file, either use the inline parameters (see Running cmdbdriver from the command line) or copy and paste the commands at the cmdbdriver prompt.

Was this page helpful? Yes No Submitting... Thank you

Comments