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

Cancellation of Running Job


IBM Mainframe Forums -> All Other Mainframe Topics
Post new topic   This topic is locked: you cannot edit posts or make replies.
View previous topic :: View next topic  
Author Message
AVINASH.SHARMA

New User


Joined: 18 Feb 2013
Posts: 7
Location: INDIA

PostPosted: Thu Feb 28, 2013 1:48 am
Reply with quote

Ed Goodman wrote:
Yes, you are correct. You schedule a job that starts at 4:55. That job will run a command to cancel the OTHER job.

So...do you, or do you not, have access to a scheduler that can run a job at 4:55?

If you do, then we can help you set up the cancel job.
.

Yes our application uses ESP Schedular .Pls let me know how can I acheive it through ESP?
Back to top
View user's profile Send private message
Akatsukami

Global Moderator


Joined: 03 Oct 2009
Posts: 1788
Location: Bloomington, IL

PostPosted: Thu Feb 28, 2013 2:07 am
Reply with quote

AVINASH.SHARMA wrote:
Yes our application uses ESP Schedular .Pls let me know how can I acheive it through ESP?

Is not ESP a proprietary product, formerly offered by Cybermation and now incorporated into CA's Workload Automation? If your shop is licensed for the product, ought it not to have manuals? To repeat Dr. Sorichetti's question, does your shop not have an operations and/or scheduling workgroup that handles such matters? Are you trying to evade controls and proper processes to make your life easier in the short term?
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


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

PostPosted: Thu Feb 28, 2013 1:51 pm
Reply with quote

AVINASH.SHARMA wrote:
Job A deletes the rows from various tables and sometimes it crosses the 4.55 CT. In that case we have to manually terminate the job.
Apart from what has been susggested about scheduler(s), I also like to enquire about - is there no business logic involved in here - if you cancel the job in between, arbitrarily, where rows from some tables are deleted and not from others -- will not that be a problem?

Having other jobs to wait until the delete is over, would not that be a better solution?

PS. Okay, I've made enough assumptions for today!
Back to top
View user's profile Send private message
Bill Woodger

Moderator Emeritus


Joined: 09 Mar 2011
Posts: 7309
Location: Inside the Matrix

PostPosted: Fri Mar 01, 2013 5:40 pm
Reply with quote

AVINASH.SHARMA,

Rather than PM's, why don't you go back to your technical people.

You have a scheduler. It can schedule jobs.

A job can contain a JES command to cancel a job.

Schedule a job to run at 04.55 which contains the appropriate cancel command.

IF your site standards do not allow JES commands to be submitted from batch jobs and IF your scheduler as no facility to assist, get your boss to give the task to the technical team's boss to resolve in a timely manner. If you cannot submit JES commands from batch, it doesn't matter what you use to attempt it (Cobol, JCL, Rice Pudding) it still won't work.

Since the limits to your task are posed by your scheduler software and its set-up, and your site standards, there really is nothing we can suggest unless you want some paid consultation from someone here.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   This topic is locked: you cannot edit posts or make replies. View Bookmarks
All times are GMT + 6 Hours
Forum Index -> All Other Mainframe Topics

 


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 Cobol-db2 : SQL query is running for ... DB2 4
Search our Forums:

Back to Top