View previous topic :: View next topic
|
Author |
Message |
fredrick andrews
New User
Joined: 10 Jun 2010 Posts: 52 Location: chennai
|
|
|
|
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 |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
The CA-7 HELP command tells about the CANCEL,JOB=???????? command. |
|
Back to top |
|
|
fredrick andrews
New User
Joined: 10 Jun 2010 Posts: 52 Location: chennai
|
|
|
|
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 |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello and welcome to the forum,
Issue a normal cancel command? |
|
Back to top |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
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 |
|
|
ibm4me
New User
Joined: 23 Oct 2006 Posts: 3
|
|
|
|
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 |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
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 |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
|
|
Just an aside: as an Application Developer - I'm bound to call my support to cancel any Jobs under CA7. |
|
Back to top |
|
|
fredrick andrews
New User
Joined: 10 Jun 2010 Posts: 52 Location: chennai
|
|
|
|
Thanks for all the responses.. |
|
Back to top |
|
|
shetty210482
New User
Joined: 15 Jul 2009 Posts: 2 Location: bangalore
|
|
|
|
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 |
|
|
|