Import
Imports objects from an XML file to the ILM Test Data Manager.
You can import the following object types:
- •Masking rule
- •Generation rule
- •Policy
- •Data domain
- •Entity
- •Group
- •Template
- •Profile
- •Project
- •Data source
- •Source definition
- •Plan
The ilmcmd import command uses the following syntax:
ilmcmd
<-Import | -i>
<-File | -f> XML_file_location
[-Help | -h]
The following table describes the ilmcmd import options and arguments:
Option | Argument | Description |
---|
-File -f | XML_file_location | Required. The path and file name of the import file. |
-Help -h | n/a | Optional. Displays help for the command. |
Import Examples
Importing a Plan
The following sample command imports the plan listed in the Plan_Customer.xml file to the repository:
ilmcmd -i -f C:\Informatica\ILMServer\CLI\Plan_Customer.xml -un Administrator -pd Administrator -hn ilmserver -port 6002
Importing a Source Definition
The following sample command imports the source definition listed in the SrcDef_CustomerDB.xml file to the repository:
ilmcmd -i -f C:\Informatica\ILMServer\CLI\SrcDef_CustomerDB.xml -un Administrator -pd Administrator -hn ilmserver -port 6002
Importing a Generation Rule
The following sample command imports the generation rule listed in the SIN_RandomNumeric.xml file to the repository:
ilmcmd -i -f E:\Rules\SIN_RandomNumeric.xml