Previous Topic: Defining Products to CAISDI/elsNext Topic: DEFINE Control Statement


DEFAULTS Control Statement

The DEFAULTS control statement sets the default values for all subsequent DEFINE control statements in the current command stream. These defaults are required parameters for the DEFINE control statement.

Use this syntax for the DEFAULTS control statement:

DEFAULTS
    [URL_SYMBOL=symbol
    [USD_ID=user_id]
    [USD_PW=password]
    [USD_AUTODEF={YES|NO}]
    [LANG=lang]
URL_SYMBOL

(Optional) Used to identify the CA Service Desk server on which you want the tickets opened. If omitted, the SD_URL value from the CAISDI/soap server address space's Environmental Variables is used. You can select an alternate CA Service Desk server by assigning a “symbol” to URL_SYMBOL where URL_symbol is a defined Environmental Variable in the CAISDI/soap server and where its value is a URL identifying the CA Service Desk server. For example, if “URL_SYMBOL=WS2” then Environmental Variable “URL_WS2” must be defined to the CAISDI/soap server with a value which is the URL for the CA Service Desk server. See the CASOAPE Environmental Variables.

USD_ID

Optional (deprecated with elmds). The logon ID to be used in accessing CA Service Desk. If omitted, the ID is taken from the CAISDI/soap SOAP client address space configuration file from the SD_USER variable.

USD_PW

Optional (deprecated with elmds). The password to be used with the CA Service Desk logon ID. If omitted, the password is taken from the CAISDI/soap SOAP client address space configuration file from the SD_PASS variable.

USD_AUTODEF

Controls whether CAISDI/els automatically defines contacts and assets if they are not already defined.

Default: USD_AUTODEF=YES

LANG

A two-character code designating the language to be used in the summary and description texts of the CA Service Desk tickets opened by CAISDI/els. The valid codes are:

Default: LANG=EN

In this example, the CAISDI/soap default values for the URL, ID, and password are being overridden. Normally, you would not want to do this, but it is beneficial for testing purposes.

DEFAULTS URL='http://usdserver.yourdomain.com:8080/axis/services/'+  'USD_WebServiceSoap?wsdl',                                           
         USD_AUTODEF=yes,          Create contacts and assets     
         USD_ID="ServiceDesk",     This is the Service Desk ID    
         USD_PW="ServiceDesk"      This password is suppressed