GeekInterview.com
Series: Subject:
Question: 391 of 392

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

Asked by: Interview Candidate | Asked on: Feb 1st, 2006
Showing Answers 1 - 7 of 7 Answers
Jagadeesh

Answered On : 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

  
Login to rate this answer.
sreedevi

Answered On : Jun 19th, 2006

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

  
Login to rate this answer.
prasad

Answered On : Aug 10th, 2006

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

  
Login to rate this answer.
madhu

Answered On : Aug 25th, 2006

Hii Jagadeesh,

can u explain this clearly

Thanks,

madhu

  
Login to rate this answer.
SRIRAM N

Answered On : May 7th, 2007

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

  
Login to rate this answer.
rsannu2k

Answered On : Jun 5th, 2007

View all answers by rsannu2k

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.

  
Login to rate this answer.
Baloo_nanduri

Answered On : Jul 25th, 2010

View all answers by Baloo_nanduri

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.

  
Login to rate this answer.

Give your answer:

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

Related Open Questions

Ads

Connect

twitter fb Linkedin GPlus RSS

Ads

Interview Question

 Ask Interview Question?

 

Latest Questions

Ads

Interview & Career Tips

Get invaluable Interview and Career Tips delivered directly to your inbox. Get your news alert set up today, Once you confirm your Email subscription, you will be able to download Job Inteview Questions Ebook . Please contact me if you there is any issue with the download.