Índice

Search

  1. Prólogo
  2. Programas y utilidades de la línea de comandos
  3. Instalación y configuración de las utilidades de la línea de comandos
  4. Cómo utilizar los programas de la línea de comandos
  5. Variables de entorno para los programas de línea de comandos
  6. Cómo utilizar infacmd
  7. Referencia de comando infacmd as
  8. Referencia del comando infacmd aud
  9. Referencia de comando infacmd autotune
  10. Referencia de comandos de Infacmd bg
  11. Referencia de comando infacmd ccps
  12. Referencia de comandos infacmd cluster
  13. Referencia de comando infacmd cms
  14. Referencia de comando infacmd dis
  15. Referencia de comandos infacmd dp
  16. Referencia de comando infacmd idp
  17. Referencia de comando infacmd edp
  18. Referencia de comandos de infacmd es
  19. Referencia de comando infacmd ihs
  20. Referencia de comando infacmd ipc
  21. Referencia de comando infacmd isp
  22. Referencia de comando infacmd ldm
  23. Referencia de comando infacmd mas
  24. Referencia de comando infacmd mi
  25. Referencia de comando infacmd mrs
  26. Referencia de comando infacmd ms
  27. Referencia de comando infacmd oie
  28. Referencia de comando infacmd ps
  29. Referencia de comando infacmd pwx
  30. Referencia de comando infacmd roh
  31. Referencia de comando infacmd rms
  32. Referencia de comando infacmd rtm
  33. Referencia de comandos de infacmd sch
  34. Referencia de comando infacmd search
  35. Referencia de comando infacmd sql
  36. Referencia de comando infacmd tdm
  37. Referencia de comando infacmd tools
  38. Referencia de comando infacmd wfs
  39. Referencia de comando infacmd ws
  40. Referencia de comando infacmd xrf
  41. Archivos de control de infacmd
  42. Referencia de comando infasetup
  43. Referencia de comando pmcmd
  44. Referencia de comando pmrep
  45. Cómo trabajar con archivos de pmrep

Command Reference

Command Reference

Cómo utilizar archivos de control de importación de objetos

Cómo utilizar archivos de control de importación de objetos

Al utilizar el comando
pmrep
ObjectImport, puede facilitar un archivo de control para responder preguntas que normalmente surgen al importar objetos con el asistente de importación. Para crear un archivo de control, debe crear un archivo XML definido por impcntl.dtd. El archivo de control de importación se instala con el cliente de PowerCenter y debe incluir su ubicación en el archivo XML de entrada.
A continuación, se facilita una muestra del archivo 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>