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

Cancel a Running job in CA-7 ???


IBM Mainframe Forums -> CA Products
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
fredrick andrews

New User


Joined: 10 Jun 2010
Posts: 52
Location: chennai

PostPosted: Sat Jul 17, 2010 11:48 pm
Reply with quote

Hello Everyone,

If i demanded a job in CA-7 and it is running, but I later realize that it is not the actual job to be run, what do i do???? Any idea? Thanks!
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Sun Jul 18, 2010 12:31 am
Reply with quote

The CA-7 HELP command tells about the CANCEL,JOB=???????? command.
Back to top
View user's profile Send private message
fredrick andrews

New User


Joined: 10 Jun 2010
Posts: 52
Location: chennai

PostPosted: Sun Jul 18, 2010 9:35 am
Reply with quote

Robert Sample wrote:
The CA-7 HELP command tells about the CANCEL,JOB=???????? command.


I think that would be to cancel out a job before it has started to run. It is to be done when it is in the queue.

Thanks!
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


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

PostPosted: Sun Jul 18, 2010 10:01 am
Reply with quote

Hello and welcome to the forum,

Issue a normal cancel command?
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Sun Jul 18, 2010 3:06 pm
Reply with quote

fredrick andrews wrote:
Robert Sample wrote:
The CA-7 HELP command tells about the CANCEL,JOB=???????? command.


I think that would be to cancel out a job before it has started to run. It is to be done when it is in the queue.

Thanks!


another example of:

it is better to remain silent, and thought a fool,
than to open one's mouth and remove all doubt

attributed to A. Lincoln
Back to top
View user's profile Send private message
ibm4me

New User


Joined: 23 Oct 2006
Posts: 3

PostPosted: Mon Jul 19, 2010 5:07 pm
Reply with quote

If You dont want to run the job:

you have to cancel it from Spool, cancelling from CA7 wont work, as the job is running means it is submitted to MVS.


fredrick andrews wrote:
Hello Everyone,

If i demanded a job in CA-7 and it is running, but I later realize that it is not the actual job to be run, what do i do???? Any idea? Thanks!
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Mon Jul 19, 2010 5:18 pm
Reply with quote

I stand corrected -- in checking the manual instead of the online help menu, the CANCEL command states
Quote:
Cancellation of a job in the Unicenter CA-7 active queue or ready queue (if it has been
submitted) does not cause termination of the job's execution. CPU jobs that can
be executing have to be canceled from the operating system separately.
Execution must be terminated from an OS system console.
So it is not possible to cancel a running job from CA-7.
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


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

PostPosted: Tue Jul 20, 2010 8:10 pm
Reply with quote

Just an aside: as an Application Developer - I'm bound to call my support to cancel any Jobs under CA7.
Back to top
View user's profile Send private message
fredrick andrews

New User


Joined: 10 Jun 2010
Posts: 52
Location: chennai

PostPosted: Wed Jul 28, 2010 12:33 am
Reply with quote

Thanks for all the responses.. icon_biggrin.gif
Back to top
View user's profile Send private message
shetty210482

New User


Joined: 15 Jul 2009
Posts: 2
Location: bangalore

PostPosted: Thu Aug 12, 2010 3:08 pm
Reply with quote

First you need to requeue the job by command REQUEUE,JOB=JOBNAME.
This will bring the job into request queue. Now cancel the job by giving command CANCEL,JOB=JOBNAME
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 -> CA Products

 


Similar Topics
Topic Forum Replies
No new posts Running REXX through JOB CLIST & REXX 13
No new posts Running a Job with the Default User ID JCL & VSAM 2
No new posts Error while running web tool kit REXX... CLIST & REXX 5
No new posts Ca7 long running jobs report All Other Mainframe Topics 1
No new posts JCL JOB Cancel/Purge Not Working JCL & VSAM 6
Search our Forums:

Back to Top