importsitestandards

This utility has been deprecated. It is no longer enhanced and support will be discontinued in version 9.0.22. For more information, see emdef Utility Suite Deprecation.

The importsitestandard utility enables you to do the following:

  • After you have completed exportsitestandards, you can perform a mass update on multiple Site Standards, where you can add/update a Site Standard rule in a large number of existing Site Standards, and import them into Control-M.

  • Import one or multiple Site Standards from one environment to another, between two environments on different Control-M/Enterprise Managers.

  • If you are importing Site Standards that already exist in the database, you can use the overwrite flag in the utility command. In this case, the existing Site Standards are replaced. If you do not use the overwrite flag, only new Site Standards are imported.

Running the importsitestandard Utility

This procedure describes how to run the importsitestandards utility, which enables you to export site standards that are defined in Control-M.

Begin

  1. Do one of the following:

    • UNIX: Log in to a Control-M/EM account.

    • Windows: Open a command prompt window where Control-M/EM is installed.

      For Windows client installations, open a command prompt window and navigate to the <EM Instance Name>\bin directory.

  2. Enter either of the following commands:

    • emdef importsitestandards [-u <user> [-p <password>] | -pf <password file>] -s <GUI Server Name> -src <data file name> [/o] [-vv 2]

    • emdef importsitestandards [-USERNAME <user> [-PASSWORD <password>] | -PASSWORD_FILE <password file>] -HOST <GUI Server Name> -SRC_FILE <data file name> [/o] [-vv 2]

Export/Import Site Standards Parameters

The following table describes the exportsitestandards and importsitestandards utilities parameters:

Parameter

Description

<user>

Defines the Control‑M/EM user name.

<password>

Defines the Control‑M/EM user password.

<password file name>

Defines a flat file containing an unencrypted user name and password on separate lines in the following format:

user=<userName>
password=<password>

<GUI Server Name>

Defines a Control-M/EM GUI server logical name, host name, or IP address.

If multiple GUI servers exist, set this parameter to the logical name of the relevant GUI server.

<data file name>

(Import only) Defines the path and name of the XML file containing the Site Standards.

<args file name>

(Export only) Defines the path and name of the arguments file containing arguments that are used as selection criteria to determine which site standards to export.

<file name>

(Export only) Defines the path and name of the output file containing the exported site standards

/o

(Import only) Instructs the utility to overwrite any existing site standards.