Table of Contents

Search

  1. Preface
  2. Command Line Programs and Utilities
  3. Installing and Configuring Command Line Utilities
  4. Using the Command Line Programs
  5. Environment Variables for Command Line Programs
  6. Using infacmd
  7. infacmd as Command Reference
  8. infacmd aud Command Reference
  9. infacmd autotune Command Reference
  10. Infacmd bg Command Reference
  11. infacmd ccps Command Reference
  12. infacmd cluster Command Reference
  13. infacmd cms Command Reference
  14. infacmd dis Command Reference
  15. infacmd dp Command Reference
  16. infacmd idp Command Reference
  17. infacmd edp Command Reference
  18. Infacmd es Command Reference
  19. infacmd ihs Command Reference
  20. infacmd ipc Command Reference
  21. infacmd isp Command Reference
  22. infacmd ldm Command Reference
  23. infacmd mas Command Reference
  24. infacmd mi Command Reference
  25. infacmd mrs Command Reference
  26. infacmd ms Command Reference
  27. infacmd oie Command Reference
  28. infacmd ps Command Reference
  29. infacmd pwx Command Reference
  30. infacmd roh Command Reference
  31. infacmd rms Command Reference
  32. infacmd rtm Command Reference
  33. infacmd sch Command Reference
  34. infacmd search Command Reference
  35. infacmd sql Command Reference
  36. infacmd tdm Command Reference
  37. infacmd tools Command Reference
  38. infacmd wfs Command Reference
  39. infacmd ws Command Reference
  40. infacmd xrf Command Reference
  41. infacmd Control Files
  42. infasetup Command Reference
  43. pmcmd Command Reference
  44. pmrep Command Reference
  45. Working with pmrep Files

Command Reference

Command Reference

Object Import Control File Examples

Object Import Control File Examples

The parameters you specify in the control file code determine the actions that take place when you run the ObjectImport command in
pmrep
. The following examples discuss instances in which you use the ObjectImport command with a control file to import repository objects. The elements and attribute names that are key to performing the described tasks are designated with comments in the code.
The following table provides a description of sample object import control files:
Function
Description
Import source objects.
Use the TYPEFILTER element to import only source objects.
Import multiple objects into a folder.
Use the IMPORTPARAMS and FOLDERMAP elements to import multiple objects.
Check in and label imported objects.
Use the CHECKIN_AFTER_IMPORT and APPLY_LABEL_NAME attributes of the IMPORTPARAMS element to label imported objects.
Retain Sequence Generator and Normalizer transformation values.
Use the RETAIN_GENERATED_VALUE attribute of the IMPORTPARAMS element to retain Sequence Generator and Normalizer values when you import objects.
Import objects and local shortcut objects to the same repository.
Use all attributes of the FOLDERMAP element to import objects and local shortcut objects that reference the objects.
Import shortcut objects from another repository.
Use all attributes of the FOLDERMAP element to import shortcut objects from another repository.
Import objects to multiple folders.
Use all attributes of the FOLDERMAP element to import objects to multiple folders.
Import specific objects.
Use the TYPEFILTER element to import specific objects.
Reuse and replace dependent objects.
Use the OBJECTTYPENAME and RESOLUTION attributes of the TYPEOBJECT element to reuse and replace dependent objects.
Replace invalid mappings.
Use the QUERYOBJECT element to replace invalid mappings.
Rename objects.
Use the RESOLUTION attribute of the SPECIFICOBJECT element to rename objects.
Copy SAP mappings and SAP program information.
Use the COPY_SAP_PROGRAM attribute of the IMPORTPARAMS element to copy SAP mappings and SAP program information.
Apply default connection attributes.
Use the APPLY_DEFAULT_CONNECTION attribute of the IMPORTPARAMS element to apply default connection attributes.
Resolve object conflicts.
Use the RESOLVECONFLICT element to resolve object conflicts.

0 COMMENTS

We’d like to hear from you!