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 rms Command Reference
  30. infacmd rtm Command Reference
  31. infacmd sch Command Reference
  32. infacmd search Command Reference
  33. infacmd sql Command Reference
  34. infacmd tdm Command Reference
  35. infacmd wfs Command Reference
  36. infacmd ws Command Reference
  37. infacmd xrf Command Reference
  38. infacmd Control Files
  39. infasetup Command Reference
  40. pmcmd Command Reference
  41. pmrep Command Reference
  42. Working with pmrep Files

Running Commands in Command Line Mode

Running Commands in Command Line Mode

Command line mode invokes and exits
pmcmd
each time you issue a command. Command line mode is useful if you want to run
pmcmd
commands through batch files, scripts, or other programs.
Use
pmcmd
commands with operating system scheduling tools like
cron,
or you can embed
pmcmd
commands into shell or Perl scripts.
When you run
pmcmd
in command line mode, you enter connection information such as domain name, Integration Service name, user name and password in each command. For example, to start the workflow “wf_SalesAvg” in folder “SalesEast,” use the following syntax:
pmcmd startworkflow -sv MyIntService -d MyDomain -u seller3 -p jackson ‑f SalesEast wf_SalesAvg
The user, seller3, with the password “jackson” sends the request to start the workflow.
If you omit or incorrectly enter one of the required options, the command fails, and
pmcmd
returns a non-zero return code. For more information about all the return codes, see pmcmd Return Codes.
To run pmcmd commands in command line mode:
  1. At the command prompt, switch to the directory where the
    pmcmd
    executable is located.
    By default, the PowerCenter installer installs
    pmcmd
    in the \server\bin directory.
  2. Enter
    pmcmd
    followed by the command name and its required options and arguments:
    pmcmd
    command_name
    [-option1]
    argument_1
    [-option2]
    argument_2
    ...


Updated April 22, 2019