on 01-04-2014 10:45 PM
Hi All,
I have one redwood script job which has redwood script in Actions->pre-running.
The job is getting completed successfully in 90% times.But in 10% times it stays running state.
Pre-running state is getting completed means redwood script gets completed and jobs goes to running state.
Here the problem comes and jobs stays in running state and when i try to kill the job the job goes to killing state and it not coming to final state(Completed,error,killed,canceled).
I tries putting the running job to unknown state with help of System_SetJobStatusUnknown but this is not putting the job to unknown state.
Dont know why this job is behaving this way some times.
Any Idea .. Please suggest.
Thanks,
Ravi.
Hi All,
Thanks a lot for all your responses.
Once again I would like bring this back to explain this.
This a purely a Redwood job( Mail type job which run in system queue).
As you know in Mail type jobs we write redwood script in Actions->Pre-running or post running.
here I wrote script in Pre-running.
My script in Preruning is getting completed and it generates log file(prerunning.log).
After prerunning the job status changed to running and it stays in same state and it not getting completed or to any final state.
When I tried to end the job using System_SetJobStatusUnkown it is not moving the job to unknown state and generated the log file saying some issue in persisting with respect to time and Timezone.
When I tried to kill the job it is going to killing state.
My final intention is to remove this killing job or to move it to final state, Later I can debug my code.
Please let me know if you require further details.
Thanks a lot for your efforts!!
Thanks,
Ravi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ravi,
Please correct me if anything below is wrong. I am also new to CPS
I have also face the same issue.
Even sometimes, with all authorizations in hand, when I try to cancel a job, it will not cancel and will continue to run.
You can stop that job by going to SM66 (Global Work process Overview) and cancel the work process.
This helps in most of the cases.
After cancelling directly in ECC by the above manner, even then in CPS it will be showing as KILLING status.
May be newer versions of CPS may rectify this issue.
Thanks,
Ramakrishnan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ravi,
If System_SetJobStatusUnknown cannot set a job to unknown, I have never seen this happen, you need to open an OSS message, I am afraid.
Regards,
HP
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ravi,
Please explain clearly as we are unable to get your issue completely.
Regards,
Raja. G
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Raja,
The job is running in System Queue and it is in running state and this is not getting completed.
We tried to put the job in unknown state with help of System_SetJobStatusUnknown but no luck the job still stays in running state.
if we kill the job job is going to killing state and not able to set the status to Killed.
Please let me know if u have any answers.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.