The following rules apply to the exportsitestandards argument file:
The exportsitestandards utility validates the XML rules folder according to the validation process in Control-M/EM version 9.0.19 and above. By adding the switch -vv 2, the utility validates the jobs/folders, which is similar to job/folder validations in Control-M client/Control-M Web. It also validates site standards (includes warnings based on strictness levels), improved error messages descriptions, and updated field names.
NOTE: By default, the utility validates the XML file in accordance with the EmdefValidationVersion system parameter in the CCM (Validation version 2). You can change the value in the CCM without the need to add the switch to the command, which may be preferable if you have many scripts that use a particular validation version. For an example of the two validation processes see emdef validation service error message example.
Parameter |
Description |
|
---|---|---|
The first two lines of the arguments file specify the XML version, the text encoding format being used, and the location of the .dtd file. |
||
TERMS |
These tags indicate the start and end of the TERMS file. Only criteria that are located between the tags are considered to be part of the argument. |
|
TERM |
The TERM tags indicate the start and the end of a group of selection criteria used to specify a Site Standard or Site Standards that are to be exported. Only PARAM tags that are located between the TERM tags are considered to be part of the TERM argument. |
|
REL |
Relationship between terms. Optional. Valid values:
|
|
PARAM |
Selection criteria parameter used to determine the job definitions that are to be exported. More than one PARAM can be specified. Mandatory. PARAM VALUE="*" OP="LIKE" NAME="NAME" |
|
NAME |
String. Mandatory. The name of the site standard
|
|
OP |
Relationship between the NAME and VALUE parameters of the TERM. Mandatory. Valid values:
|
|
VALUE |
String. Mandatory. Value of the parameter specified in the NAME field. |
EXAMPLE:
<?xml version="1.0"?>
-<TERMS>
-<TERM>
<PARAM VALUE="*" OP="LIKE" NAME="NAME"/>
<PARAM VALUE="MySiteStandard*" OP="LIKE" NAME="DESCRIPTION"/>
<PARAM VALUE="myUser*" OP="LIKE" NAME="CREATE_UID"/>
</TERM>
</TERMS>
Parent Topic |