Professional Documents
Culture Documents
Files
</IMPORTPARAMS>
You can import objects to a new folder, check them in, label them, and resolve the conflict that arises between the
existing session configuration and the session configuration in the new folder.
Suppose you want to export the objects from folder SRC_F1 and import them into new folder TGT_F1. The Repository
Server creates a session configuration in the new folder by default. You include the RESOLVECONFLICT element in
the control file to resolve the conflict between the existing session configuration and the session configuration in the
new folder.
<?xml version="1.0" encoding="UTF-8"?>
<RESOLVECONFLICT>
</RESOLVECONFLICT>
</IMPORTPARAMS>
You can retain the values of Sequence Generator and Normalizer transformations when you import objects and
replace all objects in the target folder.
<?xml version="1.0" encoding="UTF-8"?>
<RESOLVECONFLICT>
2
<TYPEOBJECT OBJECTTYPENAME="ALL" RESOLUTION="REPLACE"/>
</RESOLVECONFLICT>
</IMPORTPARAMS>
You can import shortcut objects from shared folders if the shortcut objects are located in a single repository.
Suppose you have two folders: SRC_SHARED_F1 and SRC_NONSHARED_F1. The SRC_NONSHARED_F1 folder is
not shared, and contains local shortcut objects. You want to import the objects to two new folders, and you want the
shortcuts to point to objects in the new shared folder.
<?xml version="1.0" encoding="UTF-8"?>
<IMPORTPARAMS CHECKIN_AFTER_IMPORT="NO">
</IMPORTPARAMS>
You can import objects from shared repositories.
Suppose you have objects in a local repository that contains shortcuts to objects in a global repository. You want to
import the global shortcut objects to a repository that is registered to the same global repository and maintain shortcuts
to the original objects in the global repository.
<?xml version="1.0" encoding="UTF-8"?>
<FOLDERMAP SOURCEFOLDERNAME="SRC_NONSHARED_F1"
SOURCEREPOSITORYNAME="SRC_LDR_REPO1" TARGETFOLDERNAME="TGT_NONSHARED_F1"
TARGETREPOSITORYNAME="SRC_LDR_REPO2"/>
</IMPORTPARAMS>
You can create a folder map to import objects into multiple folders that were exported from multiple folders.
<?xml version="1.0" encoding="UTF-8"?>
<RESOLVECONFLICT>
3
</RESOLVECONFLICT>
</IMPORTPARAMS>
You can choose the objects you want to import.
Suppose you imported multiple object types from an XML file. You want to import only mappings, and their respective
sources and targets, to a folder.
<?xml version="1.0" encoding="UTF-8"?>
<IMPORTPARAMS CHECKIN_AFTER_IMPORT="YES"
CHECKIN_COMMENTS="PMREP_IMPORT_TYPEFILTER"
APPLY_LABEL_NAME="LABEL_MAPPING_TYPEFILTER">
<TYPEFILTER TYPENAME="MAPPING"/>
</IMPORTPARAMS>
You can import sessions, replace the mappings, and reuse the existing sources and targets in the target folder.
<?xml version="1.0" encoding="UTF-8"?>
<IMPORTPARAMS CHECKIN_AFTER_IMPORT="YES"
CHECKIN_COMMENTS="PMREP_IMPORT_TYPEFILTER"
APPLY_LABEL_NAME="LABEL_SESSION_TYPEFILTER">
<TYPEFILTER TYPENAME="SESSION"/>
<RESOLVECONFLICT>
</RESOLVECONFLICT>
</IMPORTPARAMS>
You can replace invalid mappings and their child objects that are returned by a query.
<?xml version="1.0" encoding="UTF-8"?>
<IMPORTPARAMS CHECKIN_AFTER_IMPORT="YES"
CHECKIN_COMMENTS="PMREP_IMPORT_QUERY_PARENT_REPLACE_CHILD_REUSE"
APPLY_LABEL_NAME="LABEL_QUERY_PARENT_RENAME_CHILD_REUSE">
<RESOLVECONFLICT>
4
<QUERYOBJECT QUERYNAME="QUERY_PARENT_RENAME" RESOLUTION="REPLACE"/>
</RESOLVECONFLICT>
</IMPORTPARAMS>
You can rename specific objects when object conflicts occur.
<?xml version="1.0" encoding="UTF-8"?>
<IMPORTPARAMS CHECKIN_AFTER_IMPORT="YES"
CHECKIN_COMMENTS="PMREP_IMPORT_SPECIFICOBJECT_RENAME"
APPLY_LABEL_NAME="LABEL_IMPORT_SPECIFIC_OBJECT_RENAME">
<RESOLVECONFLICT>
</RESOLVECONFLICT>
</IMPORTPARAMS>
You can copy SAP mappings and SAP program information.
<?xml version="1.0" encoding="UTF-8"?>
</IMPORTPARAMS>
You can apply a default connection attribute to a session if a connection is not present in the target repository.
<?xml version="1.0" encoding="UTF-8"?>
5
<RESOLVECONFLICT>
<RESOLVECONFLICT>
</IMPORTPARAMS>
You can resolve object conflicts for labeled objects in the target repository.
Suppose you have mappings, sources, and targets labeled LABEL_MAPPING_MAPPLETS_SOURCES_TARGETS.
You want to replace these objects and label them REPLACE_LABEL_MAPPING_MAPPLETS_SOURCES_TARGETS
and reuse all transformations.
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE IMPORTPARAMS SYSTEM "impcntl.dtd">
<IMPORTPARAMS CHECKIN_AFTER_IMPORT="YES"
CHECKIN_COMMENTS="PMREP_IMPORT_LABEL_REPLACE" APPLY_LABEL_NAME="REPLACE_
LABEL_MAPPING_MAPPLETS_SOURCES_TARGETS" >
<FOLDERMAP SOURCEFOLDERNAME="PMREP_CHECKED_OUT" SOURCEREPOSITORYNAME="pmrep_65"
TARGETFOLDERNAME="PMREP_CHECKED_OUT_IMPORT" TARGETREPOSITORYNAME="pmrep_65"/>
<RESOLVECONFLICT>
<LABELOBJECT LABELNAME="LABEL_MAPPING_MAPPLETS_SOURCES_TARGETS"
RESOLUTION="REPLACE"/>
</RESOLVECONFLICT>
</IMPORTPARAMS>
6
Author
David Meister
Technical Support Engineer
David Meister is a four-year veteran of Informatica Global Customer Support. His current interests are Unstructured
Data, Data Transformation, and B2B Data Exchange.