Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Ordering of Jobs + Control-M

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics
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    Post subject: Ordering of Jobs + Control-M
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: 8593
Location: Back in jolly old England

PostPosted: Thu Mar 11, 2010 12:25 pm    Post subject:
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    Post subject:
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: 8593
Location: Back in jolly old England

PostPosted: Thu Mar 11, 2010 12:29 pm    Post subject:
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    Post subject:
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10202
Location: italy

PostPosted: Thu Mar 11, 2010 1:05 pm    Post subject: Reply to: Ordering of Jobs + Control-M
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: 1703
Location: Australia

PostPosted: Thu Mar 11, 2010 1:25 pm    Post subject:
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    Post subject:
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: 1703
Location: Australia

PostPosted: Thu Mar 11, 2010 1:53 pm    Post subject:
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    Post subject:
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: 1703
Location: Australia

PostPosted: Thu Mar 11, 2010 2:29 pm    Post subject:
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    Post subject:
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    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
This topic is locked: you cannot edit posts or make replies. How to use 2 input files in control c... Gunapala CN DFSORT/ICETOOL 23 Thu Oct 13, 2016 3:42 pm
No new posts How to show message using batch jobs madprasy TSO/ISPF 7 Fri Sep 09, 2016 6:55 pm
No new posts Don't allow CICS to submit batch jobs prino JCL & VSAM 5 Mon Jul 25, 2016 3:26 pm
No new posts Predicting jobs which are about to re... kpanchabhai85 DFSORT/ICETOOL 4 Thu Jun 30, 2016 7:51 pm
No new posts How to find jobs that are in schedule... anilkumar922 All Other Mainframe Topics 5 Tue Jun 28, 2016 10:01 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us