IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Purging job from EXE queue


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Salini

New User


Joined: 11 Oct 2006
Posts: 3

PostPosted: Mon Oct 29, 2007 5:13 pm
Reply with quote

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
View user's profile Send private message
ksk

Active User


Joined: 08 Jun 2006
Posts: 355
Location: New York

PostPosted: Mon Oct 29, 2007 5:28 pm
Reply with quote

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
View user's profile Send private message
Salini

New User


Joined: 11 Oct 2006
Posts: 3

PostPosted: Mon Oct 29, 2007 5:33 pm
Reply with quote

Hi,

But its been a long time almost 2-3 hrs after i issue the 'P' command.
Back to top
View user's profile Send private message
hemanth.nandas

Active User


Joined: 18 Aug 2007
Posts: 120
Location: India

PostPosted: Mon Oct 29, 2007 5:53 pm
Reply with quote

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
View user's profile Send private message
socker_dad

Active User


Joined: 05 Dec 2006
Posts: 177
Location: Seattle, WA

PostPosted: Tue Oct 30, 2007 1:46 am
Reply with quote

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
View user's profile Send private message
UmeySan

Active Member


Joined: 22 Aug 2006
Posts: 771
Location: Germany

PostPosted: Tue Oct 30, 2007 2:36 pm
Reply with quote

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
View user's profile Send private message
infotech58

New User


Joined: 07 Jul 2005
Posts: 31
Location: Mumbai, INDIA

PostPosted: Wed Oct 31, 2007 6:11 pm
Reply with quote

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
View user's profile Send private message
khamarutheen

Active Member


Joined: 23 Aug 2005
Posts: 677
Location: NJ

PostPosted: Wed Oct 31, 2007 6:42 pm
Reply with quote

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
View user's profile Send private message
sasikumar1984

Active User


Joined: 02 Jul 2007
Posts: 109
Location: Chennai - India

PostPosted: Sun Nov 04, 2007 8:08 am
Reply with quote

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
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19243
Location: Inside the Matrix

PostPosted: Sun Nov 04, 2007 10:21 am
Reply with quote

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
View user's profile Send private message
sasikumar1984

Active User


Joined: 02 Jul 2007
Posts: 109
Location: Chennai - India

PostPosted: Sun Nov 04, 2007 11:30 am
Reply with quote

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
View user's profile Send private message
anilbatta

New User


Joined: 13 Nov 2005
Posts: 22

PostPosted: Mon Nov 05, 2007 1:46 am
Reply with quote

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
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6248
Location: Mumbai, India

PostPosted: Mon Nov 05, 2007 4:29 pm
Reply with quote

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 icon_smile.gif

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts External data queue (changes?) CLIST & REXX 0
No new posts MQ response when MQGET of a stopped q... Java & MQSeries 2
No new posts IOF Output Queue & REXX(?) All Other Mainframe Topics 2
No new posts IMS queue causing page through diffic... IMS DB/DC 1
No new posts temporary storage queue CICS 4
Search our Forums:

Back to Top