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 bg Command Reference
  10. infacmd cms Command Reference
  11. infacmd dis Command Reference
  12. Infacmd es Command Reference
  13. infacmd ihs Command Reference
  14. infacmd ipc Command Reference
  15. infacmd isp Command Reference
  16. infacmd ldm Command Reference
  17. infacmd mrs Command Reference
  18. infacmd ms Command Reference
  19. infacmd oie Command Reference
  20. infacmd ps Command Reference
  21. infacmd pwx Command Reference
  22. infacmd rms Command Reference
  23. infacmd rtm Command Reference
  24. infacmd sch Command Reference
  25. infacmd search Command Reference
  26. infacmd sql Command Reference
  27. infacmd tdm Command Reference
  28. infacmd wfs Command Reference
  29. infacmd ws Command Reference
  30. infacmd xrf Command Reference
  31. infacmd Control Files
  32. infasetup Command Reference
  33. pmcmd Command Reference
  34. pmrep Command Reference
  35. Working with pmrep Files

Command Reference

Command Reference

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 April 22, 2019