Page 1 of 1

How to make a job Dummy in active environment 4 certain time

Posted: 25 Feb 2015 8:28
by Dablu
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?

Re: How to make a job Dummy in active environment 4 certain

Posted: 11 Mar 2015 4:54
by ankitv
Hi Dablu,

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

Thanks,
Ankit

Re: How to make a job Dummy in active environment 4 certain

Posted: 18 Mar 2015 4:24
by sharas
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

Re: How to make a job Dummy in active environment 4 certain

Posted: 18 Mar 2015 10:13
by Frankma52
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.

Re: How to make a job Dummy in active environment 4 certain

Posted: 03 Jul 2015 5:14
by Dablu
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

Re: How to make a job Dummy in active environment 4 certain

Posted: 20 Jul 2015 4:43
by ryanS27
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.

Re: How to make a job Dummy in active environment 4 certain

Posted: 29 Jul 2015 11:39
by jCarlos
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

Re: How to make a job Dummy in active environment 4 certain

Posted: 29 Jul 2015 11:45
by jCarlos
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