UEMLoad for Windows - Configuration

Overview

Configuration consists of:

  • Setting default options and preferences for all executions of UEMLoad.
  • Setting options and preferences for a single execution of UEMLoad.

Configuration Sources

UEMLoad for Windows receives its configuration options from the following sources:

  1. Command line
  2. Environment variables

The order of precedence is the same as the list above; command line options being the highest and environment variables being the lowest. That is, options specified via a command line override options specified via environment variables.

Definition and Event Handler Parameters

The configuration options source list, above, applies only to those general configuration options used to control execution of UEMLoad.

For event definition and/or event handler parameters, input can come from one of three mutually exclusive sources:

  1. Command line
  2. Definition load file
  3. Definition load file redirected from stdin

Definition Load File

When record parameters are provided from the command line, only one event definition and/or event handler can be specified. To add, update, or delete multiple event definition and/or event handler records at the same time, use a definition load file.

If a definition load file is specified from the command line (with the -deffile option) along with other event definition and/or event handler record parameters (for example, -event_id and -handler_id), the UEMLoad request will fail.

In this situation, either:

  • Add the event definition and/or event handler parameters to the load file.
  • Remove the -deffile option from the request.

If no record parameters are specified from a definition load file or from the command line, UEMLoad assumes a definition load file is provided via standard input (that is, stdin) redirection.

If UEMLoad detects no input at all - either from the command line or a definition load file stored locally or redirected from stdin - UEMLoad assumes that input is being supplied from stdin, and remains active until it receives an end-of-file indicator.

The UEMLoad utility displays the following message to indicate that it is waiting for input:

UNV3678I Reading input from stdin. Enter Ctrl+Z <Enter> to cancel wait...

Cancel the wait by supplying the end-of-file indicator: press <Ctrl+Z> <Enter>.

If a definition load file is provided to UEMLoad via stdin redirection, then no prompt is displayed. UEMLoad will read and process the redirected input just as it would a local definition load file.