Control File Configuration
A control file is an XML file based on an export or import schema file. You can create a control file based on the following schema files:
- •exportControl.xsd. Defines the layout and syntax of export control files.
- •importControl.xsd. Defines the layout and syntax of import control files.
You can access the schema files as part of the oie-util.jar in the following installation directory:
<InformaticaInstallationDir>/services/shared/jars/shapp
To access exportControl.xsd and importControl.xsd from the command line, navigate to the oie-util.jar location and extract the jar file with the following command:
jar -xvf <jar_name>
Also, you can extract the oie-util jar with decompression software, such as WinRAR, or view the xsd files from the oie-util jar with the Java decompiler to access the schema files.
To create an export control file, create an XML file based on the exportControl.xsd schema file. The file must begin with an XML declaration and the location of the hosted schema file in the exportParams root element. Include the following lines in the file:
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<exportParams xmlns="http://www.informatica.com/oie/exportControl/9">
...
</exportParams>
To create an import control file, create an XML file based on the importControl.xsd schema file. The file must begin with an XML declaration and the location of the hosted schema file in the importParams root element. Include the following lines in the file:
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<importParams xmlns="http://www.informatica.com/oie/importControl/9">
...
</importParams>
Include the remaining elements and attributes in the XML file based on the objects that you want to export or import.
Control File Naming Conventions
Use an easily distinguishable file name for the control files.
Add a prefix to each file name to indicate whether it is an export or import control file. For example, use the following suggested naming conventions:
- •ecf_<file_name>.xml for export control files
- •icf_<file_name>.xml for import control files
For control files for domain objects, you might also include the object type considered for export or import in the file name.