In a sequential batch how can i stop/start the particular session?

Showing Answers 1 - 7 of 7 Answers

Jagadeesh

  • Mar 31st, 2006
 

Hi

U can do in 2 ways...

1 st up all if u r working in windows environment .. its easy u can just click on particular task on that batch and make it run ... be sure that remaining all are in suspend mode

If u are working in Unix enviroment chanage status of each session using pmcmd commands

Still If you are confusing write back to me

from

jagadeesh

  Was this answer useful?  Yes

sreedevi

  • Jun 19th, 2006
 

Hi wht kind of situation ill be using event-raise,event-wait?

  Was this answer useful?  Yes

prasad

  • Aug 10th, 2006
 

by using servermanager r pmcmd u can start/stop the batch

  Was this answer useful?  Yes

madhu

  • Aug 25th, 2006
 

Hii Jagadeesh,

can u explain this clearly

Thanks,

madhu

  Was this answer useful?  Yes

SRIRAM N

  • May 7th, 2007
 

Yes, You can. But take care the further sessions will stop.

  Was this answer useful?  Yes

rsannu2k

  • Jun 5th, 2007
 

Madhu, Here is the statement to start/stop a session....


$PM_HOME/pmcmd starttask -s $PM_PMSERVER_PORT -uv USERNAME -pv PASSWORD -wait -f $Folder -w $Workflow $Task

#                  1. PowerMart Folder - Can pass the $PMFolder from
#                                        cdw_application_variables.
#                  2. Workflow - Name of Workflow being executed from $PMFolder
#                  3. Task Name - name of the session or task to be started.  If
#                                 the session or task is in a worklet then the name
#                                 is worklet.task.
#                  4. Log File - Name of the log file. Use $LogFile(path/file name)
#                                from cdw_app.. variables or your own log file
#                                with path variable... $Logs/xyz.log.

----------------------------------------------------------
$PM_HOME/pmcmd $EndMethod -s $PM_PMSERVER_PORT -uv USERNAME -pv PASSWORD -wait -f $Folder $Workflow

#                  1. PowerMart Folder - Can pass the $PMFolder from
#                                        cdw_application_variables.
#                  2. Workflow - Name of Workflow being executed from $PMFolder
#                  3. End Method - stopworkflow or abortworkflow.  Use abortworkflow
#                                  only if stopworkflow doesn't work.
#                  4. Log File - Name of the log file. Use $LogFile(path/file name)
#                                from cdw_app.. variables or your own log file
#                                with path variable... $Logs/xyz.log.

  Was this answer useful?  Yes

Right click on the session in the monitor if its a sequential run and there appears a stop option in the drop down once you stop the session workflow will either gets suspended or failed according to the session settings, if workflow is in suspended mode stop the workflow aswell and then right click on the session you want to start and then click on start workflow from task which starts the workflow from that session.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions