View previous topic :: View next topic
|
Author |
Message |
sunil kumar purohit
New User
Joined: 10 Sep 2009 Posts: 37 Location: bangalore
|
|
|
|
I have 4 jobs. I have created a group using Control-M, that contain all these jobs,
i scheduled these job in such a manner that all jobs scheduled on 15th of every month.
My problem is that jobs are scheduled but i need to order on that day.
Is there is any way so that submission is not required each time?? |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8796 Location: Welsh Wales
|
|
|
|
Please explain clearly what it is that you wish to achieve.
Do you mean that you want the jobs to run in a specific order when scheduled. |
|
Back to top |
|
|
sunil kumar purohit
New User
Joined: 10 Sep 2009 Posts: 37 Location: bangalore
|
|
|
|
I want that job should order automatically on Scheduled date. |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8796 Location: Welsh Wales
|
|
|
|
Sorry, I still do not understand what you want |
|
Back to top |
|
|
sunil kumar purohit
New User
Joined: 10 Sep 2009 Posts: 37 Location: bangalore
|
|
|
|
I have scheduled these jobs to run on 15th of every month.
Jobs are scheduled properly i tested,
To run these job i need to order these job on that day.
But i want to make it automatic.
Means i want to find a way that job will order automatically on that day. |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10886 Location: italy
|
|
|
|
Quote: |
Means i want to find a way that job will order automatically on that day. |
order on what??
maybe You want to tell that You want to run them in a specified squence
in that case just define a dependency
job4 on job3 on job2 on job1 |
|
Back to top |
|
|
gcicchet
Senior Member
Joined: 28 Jul 2006 Posts: 1702 Location: Australia
|
|
|
|
Hi,
how are other jobs currently loaded ?
All you need to do is talk to your scheduling group and have your table included in the job that currently loads other jobs.
Usually new day processing starts the ball rolling. It loads the job that will run and scan specified libraries and tables and if the scheduling criteria meets then the jobs will be loaded onto the AJF.
As your jobs have been defined to run on the 15th of each month, they will only load on that day.
Check the distributed JCL library usually named CTL.*.INST.JCL(DAILYSYS), this is the job provided by BMC to load jobs, it needs to be tailored.
Gerry |
|
Back to top |
|
|
sunil kumar purohit
New User
Joined: 10 Sep 2009 Posts: 37 Location: bangalore
|
|
|
|
Ordering we can control throgh job definition or group definition.
I dont want to control the sequence.
All jobs under that group are controlled according to "SCHEDULE TAG" field in group definition.
I have this tag to schedule on 15th of every month.
So all jobs that comes under this group scheduled accordingly.
Hi gcicchet,
Code for CTL.*.INST.JCL(DAILYSYS) is like this
Code: |
//SYSDAILY EXEC CTMDAILY,
// DATEREC=DATERECU <== CHANGE
//DAJOB DD DISP=SHR,DSN=&OLPREFM..SCHEDULE(TABLE3) <== CHANGE
// DD DISP=SHR,DSN=&OLPREFM..SCHEDULE(TABLE4) <== CHANGE
// |
So do we need to specify the table name here to load the job automatically.
My table name is "DGCVPG1.V831.TEST.CTRLM(RGNCLN)" |
|
Back to top |
|
|
gcicchet
Senior Member
Joined: 28 Jul 2006 Posts: 1702 Location: Australia
|
|
|
|
Hi,
like I said earlier, you must currently have a job that scans the scheduling tables and loads the definitions onto the AJF.
You just need to concatenate your library as above.
Gerry |
|
Back to top |
|
|
sunil kumar purohit
New User
Joined: 10 Sep 2009 Posts: 37 Location: bangalore
|
|
|
|
I understood that we need to include our table in "CTL.CTMD8.INST.JCL(DAILYSYS)", But as i know CSC will handle this job and they submit this job, we have talk with them, But they are not interested to include the new table,
So Can anyone suggest me alternate solution..
thanx in advance... |
|
Back to top |
|
|
gcicchet
Senior Member
Joined: 28 Jul 2006 Posts: 1702 Location: Australia
|
|
|
|
Hi,
Quote: |
But they are not interested to include the new table |
and the reason for this ?
There is really no other way to automate it, that's why you have a scheduling tool, to automate the scheduling process.
By the way the job is automatically submitted by Control-M.
Gerry |
|
Back to top |
|
|
sunil kumar purohit
New User
Joined: 10 Sep 2009 Posts: 37 Location: bangalore
|
|
|
|
Sorry,Reason i dont know..
Only Senior Managemnet know the reason.
Anyway thanx to all,
If i will get any alternate i will post. |
|
Back to top |
|
|
|