Table of Contents


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

pmcmd Return Codes

pmcmd Return Codes

In command line mode,
indicates the success or failure of a command with a return code. Return code “0” indicates that the command succeeded. Any other return code indicates that the command failed.
Use the DOS or UNIX echo command immediately after running a
command to see the return code for the command:
  • In a DOS shell:
    echo %ERRORLEVEL%
  • In a UNIX Bourne or Korn shell:
    echo $?
  • In a UNIX C shell:
    echo $status
The following table describes the return codes for
For all commands, a return value of zero indicates that the command ran successfully. You can issue the following commands in the wait or nowait mode: starttask, startworkflow, aborttask, and abortworkflow. If you issue a command in the wait mode, a return value of zero indicates the command ran successfully. If you issue a command in the nowait mode, a return value of zero indicates that the request was successfully transmitted to the Integration Service, and it acknowledged the request.
Integration Service is not available, or
cannot connect to the Integration Service. There is a problem with the TCP/IP host name or port number or with the network.
Task name, workflow name, or folder name does not exist.
An error occurred starting or running the workflow or task.
Usage error. You passed the wrong options to
An internal
error occurred. Contact Informatica Global Customer Support.
You used an invalid user name or password.
You do not have the appropriate permissions or privileges to perform this task.
Connection to the Integration Service timed out while sending the request.
Integration Service cannot start recovery because the session or workflow is scheduled, waiting for an event, waiting, initializing, aborting, stopping, disabled, or running.
User name environment variable is set to an empty value.
Password environment variable is set to an empty value.
User name environment variable is missing.
Password environment variable is missing.
Parameter file does not exist.
Integration Service found the parameter file, but it did not have the initial values for the session parameters, such as $input or $output.
Integration Service cannot resume the session because the workflow is configured to run continuously.
A repository error has occurred. Make sure that the Repository Service and the database are running and the number of connections to the database is not exceeded.
Integration Service is shutting down and it is not accepting new requests.
Integration Service cannot find a unique instance of the workflow/session you specified. Enter the command again with the folder name and workflow name.
There is no data available for the request.
Out of memory.
Command is cancelled.

Updated April 22, 2019