The deffolder utility imports Folders and SMART Folders into the Control-M/EM database. To run the deffolder utility, see Running the deffolder utility.
When deffolder is invoked, a file of arguments that you have created is processed. This input file contains statements that specify:
For more information, see deffolder XML file rules. The specified folders are imported into the Control-M/EM database.
The deffolder utility validates the XML rule file according to the following validation versions, which can affect the validation process:
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.
If the folders do not exist in the Control-M/EM database, the utility creates them. If the folders do exist, a message is issued indicating that the folders already exist (unless the /o switch is specified, in which case the folders are overwritten – the /o switch is described below).
The deffolder utility reads folder and SMART Folder definitions directly from a plain text arguments file (in XML format) instead of reading them from the command line.
A single deffolder input file can contain specifications for both folders and SMART Folders.
NOTE: XML is comprised of elements and attributes. Each element can contain attributes and sub-elements. In the folder that follows, elements are bolded and attributes are italicized.
Parent Topic |