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 idp Command Reference
  16. infacmd edp 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

Control File Examples for Domain Objects

Control File Examples for Domain Objects

You can filter domain objects to export by time. You can filter domain objects to export and import by object type or object name.
Export Domain Objects by Time
To export users created after 2010-12-25 10:00:00 +0530, you might create the following control file:
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?> <exportParams xmlns="http://www.informatica.com/oie/exportControl/9"> <objectList type="user" createdAfter="2010-12-25 10:00:00 +0530" /> </exportParams>
Export and Import Domain Objects by Type
To export all users, groups, and roles but not connections from a domain, you might create the following control file:
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?> <exportParams xmlns="http://www.informatica.com/oie/exportControl/9"> <objectList type="group"/> <objectList type="role" /> <objectList type="user" /> </exportParams>
To import the users and groups but not roles into the target domain, you might create the following control file:
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?> <importParams xmlns="http://www.informatica.com/oie/importControl/9"> <objectList type="group" resolution="merge"/> <objectList type="user" resolution="replace" /> </importParams>
Export and Import Domain Objects by Name
You want to export all users and groups and the Developer and Analyst roles from the source domain. You want to export specific connections if they were created after 2011-02-01 16:00:00-0800. You might create the following control file:
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?> <exportParams xmlns="http://www.informatica.com/oie/exportControl/9"> <objectList type="group"/> <objectList type="user" /> <objectList type="role"> <object name="Developer" /> <object name="Analyst" /> </objectList> <objectList type="connection" createdAfter="2011-02-01 16:00:00-0800"> <object name="Connection1" /> <object name="Connection2" /> <object name="Connection3" /> </objectList> </exportParams>
To import all users and groups and specific roles and connections into the target domain, you might create the following control file:
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?> <importParams xmlns="http://www.informatica.com/oie/importControl/9"> <objectList type="group" resolution="reuse" /> <objectList type="user" resolution="reuse" /> <objectList type="role"> <object name="Developer" resolution="replace" /> <object name="Analyst" resolution="replace" /> </objectList> <objectList type="connection"> <object name="Connection1" resolution="rename" renameTo="ProdConnection1" /> <object name="Connection2" resolution="rename" renameTo="ProdConnection2" /> <object name="Connection3" resolution="rename" renameTo="ProdConnection3" /> </objectList> </importParams>


Updated August 15, 2019