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

Running Commands in Interactive Mode

Running Commands in Interactive Mode

Use
pmcmd
in interactive mode to start and stop workflows and sessions without writing a script. When you use the interactive mode, you enter connection information such as domain name, Integration Service name, user name, and password. You can run subsequent commands without entering the connection information for each command.
For example, the following commands invoke the interactive mode, establish a connection to Integration Service “MyIntService,” and start workflows “wf_SalesAvg” and “wf_SalesTotal” in folder “SalesEast”:
pmcmd pmcmd> connect -sv MyIntService -d MyDomain -u seller3 -p jackson pmcmd> setfolder SalesEast pmcmd> startworkflow wf_SalesAvg pmcmd> startworkflow wf_SalesTotal
To run pmcmd commands in interactive 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. At the command prompt, type
    pmcmd
    .
    This starts
    pmcmd
    in interactive mode and displays the
    pmcmd>
    prompt. You do not have to type
    pmcmd
    before each command in interactive mode.
  3. Enter connection information for the domain and Integration Service. For example:
    connect -sv MyIntService -d MyDomain -u seller3 -p jackson
  4. Type a command and its options and arguments in the following format:
    command_name
    [-option1]
    argument_1
    [-option2]
    argument_2
    ...
    pmcmd
    runs the command and displays the prompt again.
  5. Type
    exit
    to end an interactive session.


Updated April 22, 2019