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

Ordering of Jobs + Control-M


IBM Mainframe Forums -> All Other Mainframe Topics
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
sunil kumar purohit

New User


Joined: 10 Sep 2009
Posts: 37
Location: bangalore

PostPosted: Thu Mar 11, 2010 11:56 am
Reply with quote

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
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Thu Mar 11, 2010 12:25 pm
Reply with quote

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
View user's profile Send private message
sunil kumar purohit

New User


Joined: 10 Sep 2009
Posts: 37
Location: bangalore

PostPosted: Thu Mar 11, 2010 12:28 pm
Reply with quote

I want that job should order automatically on Scheduled date.
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Thu Mar 11, 2010 12:29 pm
Reply with quote

Sorry, I still do not understand what you want
Back to top
View user's profile Send private message
sunil kumar purohit

New User


Joined: 10 Sep 2009
Posts: 37
Location: bangalore

PostPosted: Thu Mar 11, 2010 12:34 pm
Reply with quote

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
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10833
Location: italy

PostPosted: Thu Mar 11, 2010 1:05 pm
Reply with quote

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
View user's profile Send private message
gcicchet

Senior Member


Joined: 28 Jul 2006
Posts: 1702
Location: Australia

PostPosted: Thu Mar 11, 2010 1:25 pm
Reply with quote

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
View user's profile Send private message
sunil kumar purohit

New User


Joined: 10 Sep 2009
Posts: 37
Location: bangalore

PostPosted: Thu Mar 11, 2010 1:48 pm
Reply with quote

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
View user's profile Send private message
gcicchet

Senior Member


Joined: 28 Jul 2006
Posts: 1702
Location: Australia

PostPosted: Thu Mar 11, 2010 1:53 pm
Reply with quote

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
View user's profile Send private message
sunil kumar purohit

New User


Joined: 10 Sep 2009
Posts: 37
Location: bangalore

PostPosted: Thu Mar 11, 2010 2:22 pm
Reply with quote

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
View user's profile Send private message
gcicchet

Senior Member


Joined: 28 Jul 2006
Posts: 1702
Location: Australia

PostPosted: Thu Mar 11, 2010 2:29 pm
Reply with quote

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
View user's profile Send private message
sunil kumar purohit

New User


Joined: 10 Sep 2009
Posts: 37
Location: bangalore

PostPosted: Thu Mar 11, 2010 2:44 pm
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> All Other Mainframe Topics

 


Similar Topics
Topic Forum Replies
No new posts List of quiesced jobs JCL & VSAM 3
No new posts Help Control-R IBM Tools 2
No new posts Try to understand IMS control block IMS DB/DC 0
No new posts Control-M Delay All Other Mainframe Topics 0
No new posts Negative dependency between jobs in m... COBOL Programming 12
Search our Forums:

Back to Top