Arguments are used as selection criteria to determine which calendars are exported. Arguments are written to the copydefcal argument file. The arguments files created for use with the copydefcal utility are written in XML format and saved in a text file. Instructions for preparing this file are in XML file rules.
When this file is invoked, calendar definitions are exported from the Control-M/EM database.
The following rules apply to the copydefcalarguments file:
More than one calendar can be specified in an arguments file.
The arguments file is case-sensitive.
Only one COPYCAL parameter can be used in an arguments file.
All parameter values (such as strings or digits) must be enclosed in quotation marks (for example, JOBNAME="Job1").
Using FROM and TO in the copydefcalinput file:
If you choose to specify a parameter, the FROM subparameter is mandatory, and the TO subparameter is optional.
When a FROM value is specified without a TO value, it is used as a filter criterion.
When a TO value is included, it indicates the new value with which the parameter is updated.
Multiple values can be specified for TO and FROM by using the * wildcard character. For an explanation of how wildcards function in the XML-based utilities, see Wildcards.
If any FROM value contains *, and the corresponding TO value contains *, the * in the TO value expresses the same information as the * in the FROM value.
The TO attribute of the DATACENTER parameter must be used to import the copied calendar into a different data center if the copy has the same name as the original calendar (the TO attribute is not used with the CALENDAR parameter). Otherwise, the calendar copy overwrites the original in the same data center.