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

Running Commands

Running Commands

Invoke infacmd from the command line. You can issue commands directly or from a script, batch file, or other program.
To run infacmd commands:
  1. At the command prompt, switch to the directory where the infacmd executable is located.
    By default, infacmd installs in the following directory of the Informatica services installation:
    <Informatica installation directory>/isp/bin
    You can also install infacmd from the Informatica Installation DVD.
  2. Enter
    infacmd
    on Windows or
    infacmd.sh
    on UNIX followed by the plugin ID, the command name, and the required options and arguments. The command names are not case sensitive.
    For example:
    infacmd(.sh) plugin_ID CommandName [-option1] argument_1 [-option2] argument_2...Command Options
When you run infacmd, you enter options for each command, followed by the required arguments. For example, most commands require that you enter the domain name, user name, and password using command options. Command options are preceded with a hyphen and are not case sensitive. Arguments follow the option.
To enter an argument that is preceded with a hyphen, enclose the argument in quotation marks using the backslash (\) as an escape character before each quotation mark. For example, the following command writes the log for the mapping run with the job ID "-qnLI7G_TEeW9olHBkc9hoA" to the file "MyLog.log" within the infacmd directory on Windows:
infacmd ms GetRequestLog -dn MyDomain -sn MyDIS -un AdminUser -pd password -id \"-qnLI7G_TEeW9olHBkc9hoA\" -f MyLog.log
If you omit or incorrectly enter one of the required options, the command fails and infacmd returns an error message.
You can use environment variables for some command options with infacmd.
For example, you can store the default user name and password for a domain as environment variables so that you do not have to enter them using command options.
Configure these variables before you use infacmd.

0 COMMENTS

We’d like to hear from you!