Imports objects from an .xml file. This command requires a control file to specify the objects to import and how to resolve conflicts. The control file is an .xml file defined by the impcntl.dtd file.
The ObjectImport command uses the following syntax:
[-p (retain persistent value)]
The following table describes
ObjectImport options and arguments:
Required. Name of the .xml file to import.
Required. Name of the control file that defines import options.
Optional. Log file that records each export step. If you omit this option, status messages output to the window.
Optional. Retains persistent values for mapping variables.
The ObjectImport command does not create a folder if the folder name you enter does not exist in the repository.
You can generate audit logs when you import an .xml file into the PowerCenter repository with the pmrep ObjectImport command. When you import one or more repository objects, you can generate audit logs. To include security audit trails in the user activity log events, enable the SecurityAuditTrail property for the PowerCenter Repository Service in the Administrator tool before you import an .xml file. The user activity logs captures all the audit messages.
The audit logs contain the following information about the .xml file imported:
Host name and IP address of the client machine from which the .xml file was imported
Full local path of the .xml import file
The file name
The file size in bytes
Logged in user name
Number of objects imported
Time stamp of the import operation