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 dps Command Reference
  16. infacmd edl Command Reference
  17. Infacmd es Command Reference
  18. infacmd ihs Command Reference
  19. infacmd ipc Command Reference
  20. infacmd isp Command Reference
  21. infacmd ldm Command Reference
  22. infacmd mas Command Reference
  23. infacmd mi Command Reference
  24. infacmd mrs Command Reference
  25. infacmd ms Command Reference
  26. infacmd oie Command Reference
  27. infacmd ps Command Reference
  28. infacmd pwx Command Reference
  29. infacmd roh Command Reference
  30. infacmd rms Command Reference
  31. infacmd rtm Command Reference
  32. infacmd sch Command Reference
  33. infacmd search Command Reference
  34. infacmd sql Command Reference
  35. infacmd tdm Command Reference
  36. infacmd tools Command Reference
  37. infacmd wfs Command Reference
  38. infacmd ws Command Reference
  39. infacmd xrf Command Reference
  40. infacmd Control Files
  41. infasetup Command Reference
  42. pmcmd Command Reference
  43. pmrep Command Reference
  44. 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.


Updated August 15, 2019