View previous topic :: View next topic
|
Author |
Message |
AVINASH.SHARMA
New User
Joined: 18 Feb 2013 Posts: 7 Location: INDIA
|
|
|
|
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 |
|
|
Akatsukami
Global Moderator
Joined: 03 Oct 2009 Posts: 1788 Location: Bloomington, IL
|
|
|
|
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 |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
|
|
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 |
|
|
Bill Woodger
Moderator Emeritus
Joined: 09 Mar 2011 Posts: 7309 Location: Inside the Matrix
|
|
|
|
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 |
|
|
|