Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Purging job from EXE queue

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: Purging job from EXE queue
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: 356
Location: New York

PostPosted: Mon Oct 29, 2007 5:28 pm    Post subject:
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    Post subject:
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: Chennai

PostPosted: Mon Oct 29, 2007 5:53 pm    Post subject:
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: 147
Location: Columbia, MO

PostPosted: Tue Oct 30, 2007 1:46 am    Post subject: Reply to: Purging job from EXE queue
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: 755
Location: Germany

PostPosted: Tue Oct 30, 2007 2:36 pm    Post subject:
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    Post subject:
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: 680
Location: NJ

PostPosted: Wed Oct 31, 2007 6:42 pm    Post subject:
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    Post subject: Hi
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

Site Director


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

PostPosted: Sun Nov 04, 2007 10:21 am    Post subject:
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    Post subject: hi
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    Post subject: Reply to: Purging job from EXE queue
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

Senior Member


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

PostPosted: Mon Nov 05, 2007 4:29 pm    Post subject: Re: Reply to: Purging job from EXE queue
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    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts IMS T-Pipe queue counts in a COBOL Pr... Siva NKK Kothamasu IMS DB/DC 0 Tue May 09, 2017 6:31 pm
No new posts CA-7 queue reallocation Kamil Tluczek CA Products 4 Thu Sep 17, 2015 12:44 am
No new posts Error AMQ4512 and AMQ4522 while addin... Midhun Mohandas Java & MQSeries 0 Thu May 22, 2014 12:03 pm
No new posts ADSO GET QUEUE error 4407 Manikandesvaran D IDMS/ADSO 1 Tue May 13, 2014 3:37 pm
No new posts TSO RECEIVE - Get All Datasets/Messag... mrgnndhmk TSO/ISPF 4 Sat Mar 15, 2014 11:21 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us