View previous topic :: View next topic
|
Author |
Message |
Salini
New User
Joined: 11 Oct 2006 Posts: 3
|
|
|
|
Hi,
I have submitted a job which executes an IMS program. It has gone to an infinite loop due to my changes I feel. Now I want to terminate the job, i tried purgign but still the job is in exec queue.
Is there any other option to terminate the job.
Thanks,
Salini |
|
Back to top |
|
|
ksk
Active User
Joined: 08 Jun 2006 Posts: 355 Location: New York
|
|
|
|
Even I used to face the same situation. Job used to get purged after sometime in my case. Same might happen in ur case also. |
|
Back to top |
|
|
Salini
New User
Joined: 11 Oct 2006 Posts: 3
|
|
|
|
Hi,
But its been a long time almost 2-3 hrs after i issue the 'P' command. |
|
Back to top |
|
|
hemanth.nandas
Active User
Joined: 18 Aug 2007 Posts: 120 Location: India
|
|
|
|
Hi Salini,
Don't Purge a Job. Cancel it. Use cancel command 'C' where you can use 'P'. If you want dump as well, then use 'CD' |
|
Back to top |
|
|
socker_dad
Active User
Joined: 05 Dec 2006 Posts: 177 Location: Seattle, WA
|
|
|
|
And if that still doesn't work, call operations and have them kill your job. You have to eat a little crow, but it beats killing cpu cycles. |
|
Back to top |
|
|
UmeySan
Active Member
Joined: 22 Aug 2006 Posts: 771 Location: Germany
|
|
|
|
Hi !
If Purge & Cancel have no effect, you could Force the Job imediatly.
But Force will only be done by your operating-center i think.
Regards, UmeySan |
|
Back to top |
|
|
infotech58
New User
Joined: 07 Jul 2005 Posts: 31 Location: Mumbai, INDIA
|
|
|
|
If I am not wrong; in case of BMP programs YOU can not purge/cancel the job. To stop the job PSB would have to be stopped. |
|
Back to top |
|
|
khamarutheen
Active Member
Joined: 23 Aug 2005 Posts: 677 Location: NJ
|
|
|
|
Hi,
Why dont you talk with your Control center i mean the admin people!!! Is it a test prog or prod prog? |
|
Back to top |
|
|
sasikumar1984
Active User
Joined: 02 Jul 2007 Posts: 109 Location: Chennai - India
|
|
|
|
Hi,
U cannt cancel or purge the job when it is running... Make sure ur job is going in loop by ISPF option... If its going in loop, then u need to call to the operator and ask them to cancel (u should ask them to purge) the job with dump or without dump. If ur spool occupied more space means then u can purge the job after they cancel it... It is not at all possible for U to purge the job if it is IMS job...
Regards,
Sasikumar.K |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19243 Location: Inside the Matrix
|
|
|
|
Hello,
Quote: |
U cannt cancel or purge the job when it is running |
This is site-specific. Different organizations have different rules.
Many organizations permit developers to cancel/purge their own jobs to keep down the number of calls to the operator or other "control" people. |
|
Back to top |
|
|
sasikumar1984
Active User
Joined: 02 Jul 2007 Posts: 109 Location: Chennai - India
|
|
|
|
hi,
yes i agree with Dick... If its production walk thru jobs then we cannt cancel or purge while its running rite????????
But testing environment IMS jobs can cancel or purge while it running...
Correct me if i am wrong..
Regards,
Sasikumar.K |
|
Back to top |
|
|
anilbatta
New User
Joined: 13 Nov 2005 Posts: 22
|
|
|
|
Hi All,
If you purge the job then the job will no longer available in the queue and you cannot see the job at all.
Next is Cancelling the job means the job will not successfully complete the execution but the user terminated it normally. But you can still the cancelled job in your queue.
Correct me if i am wrong on the above points.
Regards
Anil |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6248 Location: Mumbai, India
|
|
|
|
anilbatta wrote: |
If you purge the job then the job will no longer available in the queue and you cannot see the job at all.
Next is Cancelling the job means the job will not successfully complete the execution but the user terminated it normally. But you can still the cancelled job in your queue. |
You are right
However if one can not purge/cancel the JOB from the spool (even in Testing region of your shop), best practice is to ask the system guys to help you out as suggested earlier. |
|
Back to top |
|
|
|