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
 

 

Cancel a Running job in CA-7 ???

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CA Products
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    Post subject: Cancel a Running job in CA-7 ???
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: 8117
Location: East Dubuque, Illinois, USA

PostPosted: Sun Jul 18, 2010 12:31 am    Post subject:
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    Post subject:
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

Site Director


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

PostPosted: Sun Jul 18, 2010 10:01 am    Post subject:
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: 6968
Location: porcelain throne

PostPosted: Sun Jul 18, 2010 3:06 pm    Post subject:
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    Post subject: Re: Cancel a Running job in CA-7 ???
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: 8117
Location: East Dubuque, Illinois, USA

PostPosted: Mon Jul 19, 2010 5:18 pm    Post subject:
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

Senior Member


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

PostPosted: Tue Jul 20, 2010 8:10 pm    Post subject:
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    Post subject:
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    Post subject:
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    IBMMAINFRAMES.com Support Forums -> CA Products All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Running an REXX EXEC implicitly sho7hills CLIST & REXX 3 Thu Apr 20, 2017 8:14 am
No new posts Determine Region with max bandwidth f... seahawk789 COBOL Programming 3 Mon Feb 27, 2017 8:26 pm
No new posts CICS START AND CANCEL blayek CICS 1 Wed Dec 07, 2016 3:27 am
No new posts Problem in Running Query via JCL vickey_dw DB2 3 Tue Oct 18, 2016 11:11 pm
No new posts Syntax for running batch history repo... polymathtarun CA Products 1 Tue Jun 21, 2016 1:51 pm


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