It is currently 12 Dec 2017 10:57


Post new topic  Reply to topic  [ 8 posts ] 
Author Message
PostPosted: 25 Feb 2015 8:28 
Offline
Nouveau
Nouveau
User avatar

Joined: 12 Nov 2013 12:00
Posts: 14
hi ,
I am using Control-M 8
and have set of 4 jobs , and jobs are executing from 8 to 22 hrs with 2 hours inverval.
user wants 3rd jobs need to disable for certain time interval


So how can we proceed to make a job to Dummy in active environment for certain time interval?


Top
   
PostPosted: 11 Mar 2015 4:54 
Offline
Nouveau
Nouveau

Joined: 16 Feb 2015 2:28
Posts: 2
Hi Dablu,

Can you give more information, may be you can explain the scenario as to how the jobs are to execute ?

Thanks,
Ankit


Top
   
PostPosted: 18 Mar 2015 4:24 
Offline
Nouveau
Nouveau
User avatar

Joined: 13 Nov 2007 12:00
Posts: 76
Location: Hyderabad
Hi

I don't think you can change the task type but alternatively you could dummy out the command line by prefixing a # or by amending the command to a simple sleep or echo etc . You could do it interactively manually or using ctmpsm

ctmpsm -UPDATEAJF <orderid> <HOLD|FREE|DELETE|UNDELETE|RERUN|CONFIRM|FORCEOK|STATISTICS|CONDADDIN <cond> <date> <AND|OR>|CONDADDOUT <cond> <date> <+|->|CONDDELIN <cond>|CONDDELOUT <cond>

ctmpsm -FULLUPDATE <orderid>
[ -GROUP <group name> ]
[ -APPLICATION <applic name> ]
[ -NODEGRP <name> ]
[ -MEMLIB <path> ]
[ -MEMNAME <filename> ]
[ -CMDLINE <string> ]
[ -OWNER <username> ]
[ -MAXRERUN <value> ]
[ -TIMEFROM <earliest submission time> ]
[ -TIMEUNTIL <latest submission time> ]
[ -TIMEZONE <time zone name> ]
[ -PRIORITY <job priority> ]
[ -CRITICAL Y|N ]
[ -CYCLIC Y|N ]
[ -INTERVAL <45d(days) | 1080h(hours) | 64800m (minutes)> ]
[ -OVERLIB <alternative directory> ]
[ -MAXWAIT <days> ]
[ -INCOND <condition> <dateref>|ODAT AND|OR ]
[ -OUTCOND <condition> <dateref>|ODAT ADD|DEL ]
[ -AUTOEDIT <varname> <expression> ]

Thanks
Sharas


Top
   
PostPosted: 18 Mar 2015 10:13 
Offline
Nouveau
Nouveau
User avatar

Joined: 09 Oct 2007 12:00
Posts: 3
We have a the same situation with a cyclical job that runs 22/7. We had to define 3 job definitions for the same job letting it run from 06:00 to 13:00, then from 14:00 to 18:00, and then from 20:00 to 05:00. It was the same job, that ran at different times.


Top
   
PostPosted: 03 Jul 2015 5:14 
Offline
Nouveau
Nouveau
User avatar

Joined: 12 Nov 2013 12:00
Posts: 14
ankitv wrote:
Hi Dablu,

Can you give more information, may be you can explain the scenario as to how the jobs are to execute ?

Thanks,
Ankit


Hi Ankit,

4 jobs execuitng from 8 to 22 hrs with 2 hrs interval
A B C D

Suppose at 18 hrs user want to run job C as Dummy but at that time Job D need to execute asusal.

Thanks,
Dablu


Top
   
PostPosted: 20 Jul 2015 4:43 
Offline
Nouveau
Nouveau
User avatar

Joined: 16 Dec 2013 12:00
Posts: 8
Do you know that at what time you want to make the job dummy? do you have that specific time window if you have then you can create another dummy job for that time period to pass the condition to D job and you can specify the until time in your actual C job to make it stop.


Top
   
PostPosted: 29 Jul 2015 11:39 
Offline
Nouveau
Nouveau
User avatar

Joined: 19 Jun 2013 12:00
Posts: 36
Frankma52 wrote:
We have a the same situation with a cyclical job that runs 22/7. We had to define 3 job definitions for the same job letting it run from 06:00 to 13:00, then from 14:00 to 18:00, and then from 20:00 to 05:00. It was the same job, that ran at different times.



you do not need three job definitions, tell me what time do you do the NDP and i will tell you how to do it with just one job group definition


Top
   
PostPosted: 29 Jul 2015 11:45 
Offline
Nouveau
Nouveau
User avatar

Joined: 19 Jun 2013 12:00
Posts: 36
Dablu wrote:
ankitv wrote:
Hi Dablu,

Can you give more information, may be you can explain the scenario as to how the jobs are to execute ?

Thanks,
Ankit


Hi Ankit,

4 jobs execuitng from 8 to 22 hrs with 2 hrs interval
A B C D

Suppose at 18 hrs user want to run job C as Dummy but at that time Job D need to execute asusal.

Thanks,
Dablu


do these jobs run at the same time? if not then it's pretty easy


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 8 posts ] 

All times are UTC+01:00


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Limited
The site created by Franck YOT. Images, logo, content and trademarks about Control-M products are property of BMC Software.
All the comments are property of their posters. Images, logo, content and design are © copyright by Scheduler-Usage.com. All Rights Reserved