Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Forum Index
 
Register
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Cancellation of Running Job
Goto page Previous  1, 2
 
Post new topic   This topic is locked: you cannot edit posts or make replies.    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics
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    Post subject:
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: 1789
Location: Bloomington, IL

PostPosted: Thu Feb 28, 2013 2:07 am    Post subject:
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

Senior Member


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

PostPosted: Thu Feb 28, 2013 1:51 pm    Post subject: Re: Cancellation of Running Job
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

DFSORT Moderator


Joined: 09 Mar 2011
Posts: 7314

PostPosted: Fri Mar 01, 2013 5:40 pm    Post subject: Reply to: Cancellation of Running Job
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.    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics All times are GMT + 6 Hours
Goto page Previous  1, 2
Page 2 of 2

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts S0C7 abend while running a Cobol Program amitc23 COBOL Programming 2 Tue May 07, 2019 4:06 pm
No new posts Reading mainframe job spool while the... jilumudi_manohar JCL & VSAM 7 Wed Jan 09, 2019 9:48 am
No new posts OLDS frozen in BACKOUT status when On... lind sh IMS DB/DC 3 Tue Feb 13, 2018 7:12 pm
No new posts Job is running with no response!!! Vignesh Sid DB2 3 Fri Oct 27, 2017 6:28 pm
No new posts Running an REXX EXEC implicitly sho7hills CLIST & REXX 3 Thu Apr 20, 2017 8:14 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us