Wednesday, February 20, 2013

pmcmd Return Codes

pmcmd startworkflow -u $user -p $pass -sv $integ_serv -usd "$sec_domain" -d $domain -f $folder -wait $workflow
After the pmcmd command $? will give the return value of the pmcmd.

Code Description 
0For 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.
1Integration Service is not available, or pmcmd cannot connect to the Integration Service. There is a problem with the TCP/IP host name or port number or with the network.
2Task name, workflow name, or folder name does not exist.
3An error occurred starting or running the workflow or task.
4Usage error. You passed the wrong options to pmcmd.
5An internal pmcmd error occurred. Contact Informatica Global Customer Support.
7You used an invalid user name or password.
8You do not have the appropriate permissions or privileges to perform this task.
9Connection to the Integration Service timed out while sending the request.
12Integration Service cannot start recovery because the session or workflow is scheduled, waiting for an event, waiting, initializing, aborting, stopping, disabled, or running.
13User name environment variable is set to an empty value.
14Password environment variable is set to an empty value.
15User name environment variable is missing.
16Password environment variable is missing.
17Parameter file does not exist.
18Integration Service found the parameter file, but it did not have the initial values for the session parameters, such as $input or $output.
19Integration Service cannot resume the session because the workflow is configured to run continuously.
20A 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.
21Integration Service is shutting down and it is not accepting new requests.
22Integration Service cannot find a unique instance of the workflow/session you specified. Enter the command again with the folder name and workflow name.
23There is no data available for the request.
24Out of memory.
25Command is cancelled.

No comments:

Post a Comment