Hello ,
In OPC / TWS How to add cyclic job to the current plan?
Eg: A job which run every 5 minutes.
Thanks,
TWS / OPC
- dick scherrer
- Global moderator
- Posts: 6268
- Joined: Sat Jun 09, 2007 8:58 am
Re: TWS / OPC
Hello,
Suggest you ask your scheduling people, look in the documentation, or call the vendor support.
Suggest you ask your scheduling people, look in the documentation, or call the vendor support.
Hope this helps,
d.sch.
d.sch.
-
- Global moderator
- Posts: 3025
- Joined: Sun Jul 04, 2010 12:13 am
- Skillset: JCL, PL/1, Rexx, Utilities and to a lesser extent (i.e. I have programmed using them) COBOL,DB2,IMS
- Referer: Google
- Location: Pushing up the daisies (almost)
Re: TWS / OPC
I do believe OPC (now called TWS) is an IBM tool and not a 3rd party tool.
The problem I have is that people can explain things quickly but I can only comprehend slowly.
Regards
Nic
Regards
Nic
-
- Posts: 1
- Joined: Mon Sep 10, 2012 11:46 am
- Skillset: Mainframe TWS Scheduling
OPC Tool
Scout Tool
IBM dbSymphony
Remedy Global Change Management (GCM) Tool
BCEs (Business Critical Events) - Referer: Internet
Re: TWS / OPC
@bazzigar :
This can be achieved in many ways. I will explain you a general simplified approach as mentioned below :
Since your requirement is with a gap of 5 mins only, first find out how much time the individual job actually takes to complete. If it takes less than or equal to 5 mins only, then you can schedule the jobs as given below (note that here we are ignoring the stringent 5-minute rule. Each job will start as soon as its predecessor completes) :
Create an application. For eg, here let EQU10BXP be the application.
In the application, create a job (lets say EQU10B01) with the required JCL for the job.
If you require the same job to run for say some 15 times, copy the same JCL with different job names like below :
App : EQU10B01P
Jobs :
EQU10B01
EQU10B02 -> predecessor EQU10B01
EQU10B03 -> predecessor EQU10B02
EQU10B04 -> predecessor EQU10B03
...
..
EQU10B15 -> predecessor EQU10B14
Here, make sure you set the previous job as the predecessor of the next job. The first job will be triggered when the application is triggered. The application can either be Time-Triggered, Event-Triggered or triggered as being a successor of some other application.
If you need to enforce the 5-minute timing stringently, then you need to add an additional time-job as the predecessor of each job. Lets say that we need to start the initial run at 9 AM.
App : EQU10B01P ->predecessor U0900B01P
Jobs :
EQU10B01
EQU10B02 -> predecessor EQU10B01 , predecessor TIME0905
EQU10B03 -> predecessor EQU10B02 , predecessor TIME0910
EQU10B04 -> predecessor EQU10B03 , predecessor TIME0915
...
..
EQU10B15 -> predecessor EQU10B14 , predecessor TIME1010
There are additional strategies as how you can accomplish the same task more efficiently, but I assume you are
a beginner in TWS Scheduling, hence, this is the most basic approach I have laid out for you.
In case you are wondering about the console / menu commands to achieve this, enlist the help of your colleagues / TL
or refer to a TWS manual.
Hope, my efforts solve your query.
Have a Nice Day mate !! Cheers !!!
_______________________________
RJ
This can be achieved in many ways. I will explain you a general simplified approach as mentioned below :
Since your requirement is with a gap of 5 mins only, first find out how much time the individual job actually takes to complete. If it takes less than or equal to 5 mins only, then you can schedule the jobs as given below (note that here we are ignoring the stringent 5-minute rule. Each job will start as soon as its predecessor completes) :
Create an application. For eg, here let EQU10BXP be the application.
In the application, create a job (lets say EQU10B01) with the required JCL for the job.
If you require the same job to run for say some 15 times, copy the same JCL with different job names like below :
App : EQU10B01P
Jobs :
EQU10B01
EQU10B02 -> predecessor EQU10B01
EQU10B03 -> predecessor EQU10B02
EQU10B04 -> predecessor EQU10B03
...
..
EQU10B15 -> predecessor EQU10B14
Here, make sure you set the previous job as the predecessor of the next job. The first job will be triggered when the application is triggered. The application can either be Time-Triggered, Event-Triggered or triggered as being a successor of some other application.
If you need to enforce the 5-minute timing stringently, then you need to add an additional time-job as the predecessor of each job. Lets say that we need to start the initial run at 9 AM.
App : EQU10B01P ->predecessor U0900B01P
Jobs :
EQU10B01
EQU10B02 -> predecessor EQU10B01 , predecessor TIME0905
EQU10B03 -> predecessor EQU10B02 , predecessor TIME0910
EQU10B04 -> predecessor EQU10B03 , predecessor TIME0915
...
..
EQU10B15 -> predecessor EQU10B14 , predecessor TIME1010
There are additional strategies as how you can accomplish the same task more efficiently, but I assume you are
a beginner in TWS Scheduling, hence, this is the most basic approach I have laid out for you.
In case you are wondering about the console / menu commands to achieve this, enlist the help of your colleagues / TL
or refer to a TWS manual.
Hope, my efforts solve your query.
Have a Nice Day mate !! Cheers !!!
_______________________________
RJ

-
- Global moderator
- Posts: 3025
- Joined: Sun Jul 04, 2010 12:13 am
- Skillset: JCL, PL/1, Rexx, Utilities and to a lesser extent (i.e. I have programmed using them) COBOL,DB2,IMS
- Referer: Google
- Location: Pushing up the daisies (almost)
Re: TWS / OPC
Hello and welcome!
I suspect, that as the original post was in March of this year, it was resolved in March of this year. Please pay attention to the dates of topics. Ususally it is ill-advised to resurrect an old topic.
If you need to refer to a topic when posting your own query then refer to it - do not 'tail-gate' it.
I suspect, that as the original post was in March of this year, it was resolved in March of this year. Please pay attention to the dates of topics. Ususally it is ill-advised to resurrect an old topic.
If you need to refer to a topic when posting your own query then refer to it - do not 'tail-gate' it.
The problem I have is that people can explain things quickly but I can only comprehend slowly.
Regards
Nic
Regards
Nic