This documentation supports the 18.08 version of Remedy Action Request System.

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

Creating and using driver scripts

This section describes how to write and execute a driver script.

To create a driver script

  1. Start the driver program.
  2. Enter rec, and provide scriptFile when prompted.
  3. Enter log, and provide login information when prompted.
  4. Enter init (initialize BMC Remedy AR System connection).
  5. Enter the desired driver commands.
  6. Enter term (terminate BMC Remedy AR System connection).
  7. Enter srec (stop recording).

Because driver scripts are stored as text files, you can edit them by using a text editor (which is sometimes easier than rerecording). Blank lines indicate default or skipped values and should not be deleted.

You have the following options for executing a driver script:

Interactive

  • Start the driver program.
  • Enter ex, and provide scriptFile when prompted.

Command Line

  • Enter driver < script.filename. The driver program terminates at the end of the script.

Command Line or Shortcut

  • Enter driver -x script.filename. The driver program keeps running at the end of the script unless the script terminates it with a quit ( q ) command. To create a shortcut or application icon that executes your script from a double-click, use this syntax for the shortcut's Target or Command property. It also works directly from the command line.

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

Comments