Total Pageviews

Monday, 2 June 2014

PMCMD command in informatica


                Pmcmd command is utility provided to interact with Informatica server from command line/unix prompt. 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.

                First you can check whether pmcmd utility is available or not by typing
Find . –name “PMCMD”
                And then set SHLIB_PATH environment variable as below (for example) and export
                                SHLIB_PATH=$PATH:/appl/inform/Informatica/9.0.1/server/bin
                                export SHLIB_PATH

Examples:
Start the workflow:
Pmcmd startworkflow –s integration_service –d domain_name –u user_name –p password –f folder_name –w workflow_name

Stop the workflow: stopworkflow

Scheduling the workflow: scheduleworkflow

Start the workflow from task:
Pmcmd starttask –s integration_service –d domain_name –u user_name –p password –f folder_name –w workflow_name -startfrom task-name

Stopping a task:
Pmcmd stoptask –s integration_service –d domain_name –u user_name –p password –f folder_name –w workflow_name task-name

Aborting workflow and task:
Pmcmd abortworkflow –s integration_service –d domain_name –u user_name –p password –f folder_name –w workflow_name
Pmcmd aborttask –s integration_service –d domain_name –u user_name –p password –f folder_name –w workflow_name task-name

Some more commands:
stoptask : To stop a task
gettaskdetails : To retrieve task details
starttask : To Execute a task
aborttask : To abort a task
waittask : To Run a task in wait mode workflow specific
getworkflowdetails : To retrieve workflow details
waitworkflow : To Run a workflow in wait mode

No comments:

Post a Comment