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

All questions about Control-M jobs definitions
Post Reply
User avatar
Dablu
Nouveau
Nouveau
Posts: 14
Joined: 12 Nov 2013 12:00

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

Post by Dablu » 25 Feb 2015 8:28

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?

ankitv
Nouveau
Nouveau
Posts: 2
Joined: 16 Feb 2015 2:28

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

Post by ankitv » 11 Mar 2015 4:54

Hi Dablu,

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

Thanks,
Ankit

User avatar
sharas
Nouveau
Nouveau
Posts: 76
Joined: 13 Nov 2007 12:00
Location: Hyderabad
Contact:

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

Post by sharas » 18 Mar 2015 4:24

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

User avatar
Frankma52
Nouveau
Nouveau
Posts: 3
Joined: 09 Oct 2007 12:00

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

Post by Frankma52 » 18 Mar 2015 10:13

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.

User avatar
Dablu
Nouveau
Nouveau
Posts: 14
Joined: 12 Nov 2013 12:00

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

Post by Dablu » 03 Jul 2015 5: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

User avatar
ryanS27
Nouveau
Nouveau
Posts: 8
Joined: 16 Dec 2013 12:00

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

Post by ryanS27 » 20 Jul 2015 4:43

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.

User avatar
jCarlos
Nouveau
Nouveau
Posts: 36
Joined: 19 Jun 2013 12:00

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

Post by jCarlos » 29 Jul 2015 11:39

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

User avatar
jCarlos
Nouveau
Nouveau
Posts: 36
Joined: 19 Jun 2013 12:00

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

Post by jCarlos » 29 Jul 2015 11:45

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

Post Reply