目录

Search

  1. 前言
  2. 命令行程序和实用程序
  3. 安装和配置命令行实用程序
  4. 使用命令行程序
  5. 命令行程序的环境变量
  6. 使用 infacmd
  7. infacmd as 命令引用
  8. infacmd aud 命令引用
  9. infacmd autotune 命令引用
  10. Infacmd bg 命令参考
  11. infacmd ccps 命令引用
  12. infacmd cluster 命令引用
  13. infacmd cms 命令引用
  14. infacmd dis 命令引用
  15. Infacmd dis 查询
  16. infacmd dp 命令引用
  17. infacmd idp 命令引用
  18. infacmd edp 命令引用
  19. Infacmd es 命令参考
  20. infacmd ics 命令引用
  21. infacmd ipc 命令引用
  22. infacmd isp 命令引用
  23. infacmd ldm 命令引用
  24. infacmd mas 命令引用
  25. infacmd mi 命令引用
  26. infacmd mrs 命令引用
  27. infacmd ms 命令引用
  28. infacmd oie 命令引用
  29. infacmd ps 命令引用
  30. infacmd pwx 命令引用
  31. infacmd roh 命令引用
  32. infacmd rms 命令参考
  33. infacmd rtm 命令引用
  34. infacmd sch 命令参考
  35. infacmd search 命令引用
  36. infacmd sql 命令引用
  37. infacmd tdm 命令引用
  38. infacmd tools 命令引用
  39. infacmd wfs 命令引用
  40. infacmd ws 命令引用
  41. infacmd xrf 命令引用
  42. infacmd 控制文件
  43. infasetup 命令引用
  44. pmcmd 命令引用
  45. pmrep 命令引用
  46. 使用 filemanager
  47. 处理 pmrep 文件

使用对象导入控制文件

使用对象导入控制文件

使用
pmrep
ObjectImport 命令时,可以提供一个控制文件来回答在使用“导入向导”导入对象时通常提出的问题。 要创建控制文件,必须创建由 impcntl.dtd 定义的 XML 文件。 导入控制文件将与 PowerCenter Client 一同安装,而且必须在 XML 文件输入中包含其位置。
以下是 impcntl.dtd 文件示例:
<!-- Informatica Object Import Control DTD Grammar - > <!--IMPORTPARAMS This inputs the options and inputs required for import operation --> <!--CHECKIN_AFTER_IMPORT Check in objects on successful import operation --> <!--CHECKIN_COMMENTS Check in comments --> <!--APPLY_LABEL_NAME Apply the given label name on imported objects --> <!--RETAIN_GENERATED_VALUE Retain existing sequence generator, normalizer and XML DSQ current values in the destination --> <!--COPY_SAP_PROGRAM Copy SAP program information into the target repository --> <!--APPLY_DEFAULT_CONNECTION Apply the default connection when a connection used by a session does not exist in the target repository --> <!ELEMENT IMPORTPARAMS (FOLDERMAP*, TYPEFILTER*, RESOLVECONFLICT?)> <!ATTLIST IMPORTPARAMS CHECKIN_AFTER_IMPORT (YES | NO) "NO" CHECKIN_COMMENTS CDATA #IMPLIED APPLY_LABEL_NAME CDATA #IMPLIED RETAIN_GENERATED_VALUE (YES | NO) "NO" COPY_SAP_PROGRAM (YES | NO) "YES" APPLY_DEFAULT_CONNECTION (YES | NO) "NO" > <!--FOLDERMAP matches the folders in the imported file with the folders in the target repository --> <!ELEMENT FOLDERMAP EMPTY> <!ATTLIST FOLDERMAP SOURCEFOLDERNAME CDATA #REQUIRED        SOURCEREPOSITORYNAME CDATA #REQUIRED TARGETFOLDERNAME CDATA #REQUIRED TARGETREPOSITORYNAME CDATA #REQUIRED > <!--Import will only import the objects in the selected types in TYPEFILTER node --> <!--TYPENAME type name to import. This should comforming to the element name in powermart.dtd, e.g. SOURCE, TARGET and etc.--> <!ELEMENT TYPEFILTER EMPTY> <!ATTLIST TYPEFILTER TYPENAME CDATA #REQUIRED > <!--RESOLVECONFLICT allows to specify resolution for conflicting objects during import. The combination of specified child nodes can be supplied --> <!ELEMENT RESOLVECONFLICT (LABELOBJECT | QUERYOBJECT | TYPEOBJECT | SPECIFICOBJECT)*> <!--LABELOBJECT allows objects in the target with label name to apply replace/reuse upon conflict --> <!ELEMENT LABELOBJECT EMPTY> <!ATTLIST LABELOBJECT LABELNAME         CDATA                       #REQUIRED RESOLUTION       (REPLACE | REUSE | RENAME) #REQUIRED > <!--QUERYOBJECT allows objects result from a query to apply replace/reuse upon conflict --> <!ELEMENT QUERYOBJECT EMPTY> <!ATTLIST QUERYOBJECT QUERYNAME          CDATA                         #REQUIRED         RESOLUTION         (REPLACE | REUSE | RENAME) #REQUIRED > <!--TYPEOBJECT allows objects of certain type to apply replace/reuse upon conflict--> <!ELEMENT TYPEOBJECT EMPTY> <!ATTLIST TYPEOBJECT OBJECTTYPENAME            CDATA                      #REQUIRED RESOLUTION                REPLACE | REUSE | RENAME) #REQUIRED > <!--SPECIFICOBJECT allows a particular object(name, typename etc.) to apply replace/reuse upon conflict --> <!--NAME Object name--> <!--EXTRANAME Source DBD name - required for source object to identify uniquely--> <!--OBJECTTYPENAME Object type name--> <!--FOLDERNAME Folder which the object belongs to--> <!--REPOSITORYNAME Repository name that this object belongs to--> <!--RESOLUTION Resolution to apply for the object in case of conflict--> <!ELEMENT SPECIFICOBJECT EMPTY> <!ATTLIST SPECIFICOBJECT NAME CDATA #REQUIRED DBDNAME CDATA #IMPLIED OBJECTTYPENAME CDATA #REQUIRED FOLDERNAME CDATA #REQUIRED REPOSITORYNAME CDATA #REQUIRED RESOLUTION (REPLACE | REUSE | RENAME) #REQUIRED>