FAQ



  • What is Control-M?
    • CONTROL-M is a business integrated scheduling product that focuses on the production environment's business applications and platforms. In simple terms "It is a scheduling software like many others (autosys, cron, OPC..etc) using which we can schedule our task to run them automatically without manual intervention."
    • Read more...

  • What are the default port numbers from Server to Agent and Agent to Server?
    • CONTROL-M/Server and CONTROL-M/Agent communicate by means of two TCP/IP ports. They are "Server-to-Agent Port" and "Agent-to-Server Port". The default "Server-to-Agent Port Number" is 7006 and "Agent-to-Server Port Number" is 7005. Normally these values will be in the range of 1025 to 65535[inclusive].

  • What are Control M Components?
    • CONTROL-M/Enterprise Manager (CONTROL-M/EM)
    • CONTROL-M/Servers
    • CONTROL-M/Agents and Remote hosts
    • Control Modules
    • Read more...

  • Explain Architecture of Control M?
    • Control-M is a 3 tier architecture. Here you have to explain about the components of Control-M (EM, Server and Agents).
    • Read more... 

  • What is Datacenter?
    • Control-M datacenter is comprised of Control-M/Server, Database, and Control-M/Agents.
    • If you see the diagram here, you can observe 2 datacenters in that picture.
    • Normally we will be having different datacenters for Test, Dev, Prod.. etc. in some organizations for few critical applications they may maintain a different datacenter.
    • Datacenter design is completely depend upon the organizations design plan for scheduling solution.

  • What are The Control-M Accessories?
    • Control-M/Enterprise Manager GUI (EM/GUI or ECS GUI), Gateways, Global Alert Server (GAS), Global Condition Server (GCS) and Control-M GUI Server.
    • It is important to understand what each of these components does and its place in the Control-M architecture.

  • What is GAS?
    • Expansion of GAS is Global Alert Server. This is one of the components of Control-M EM Server.
    • This will be used to store all the alerts generated from datacenters under the Control-M EM.

  • What is GCS?
    • Expansion of GCS is Global Condition Server. This is also one of the components of Control-M EM Server.
    • This will be used to store all the conditions generated from datacenters under the Control-M EM.

  • What is New Day Process(NDP)?
    • At a set time each day (defined during installation as the start of day at the site), CONTROL-M performs New Day processing, during which:
      • CONTROL-M performs a number of maintenance and cleanup functions that the operator would otherwise have to perform manually.
      • Job scheduling definitions are selected from the scheduling tables (based on their basic scheduling criteria) and are placed in the Active Jobs file. These jobs can then be submitted and tracked by the CONTROL-M monitor.
      • During New Day processing, jobs that have ended OK or whose retention period has expired according to job scheduling definition parameters are deleted from the Active Jobs file.
    • In simple terms "this loads all of the jobs that Control-M knows should run that day. Control-M does not necessarily know all of the jobs to run. it only knows the ones scheduled to run that day. In process of cleanup Control-M will clear all the jobs except the jobs which are in Hold and Jobs which are having MAXWAIT". 
    • Note: The jobs which were ended NOTOK will be retained for one day.
    • Read More...

  • What is Viewpoint?
    • Criteria that determine which jobs in the Active Jobs file are loaded into the database (collection), which jobs are displayed (filter), and how they are displayed (hierarchy) in the CONTROL-M/EM window.
    • Readmore...

  • What is Archived Viewpoint?
    • This is the place Where you can see historical data. In this you can see 'N' no.of days viewpoints which were completed. The 'N' days will be set in Control-M Server settings.

  • How will you Order or Load the jobs?
    • Option 1: Use Tools -> Order / Force Option.
    • Option 2: Using Control-M Desktops Scheduling Table Manager.
    • Option 3: In Desktop, Open job properties and use Order.
    • Readmore...

  • Difference between Order and Force
    • Order will check with the job scheduling criteria and brings into AJF only If the scheduling criteria met.
    • Force will ignore the  scheduling criteria and bring the job(s) to AJF

  • What is meant by Control-M Documentation?
    • It is the escalation procedure to use in case of any event occur. Event may be Job Failure, Long Running, Not started by a particular time or Not completed by a specified time.

  • What is “Owner” field denotes in Control-M job properties?
    • This is the actual ID which will be used to execute the job in the given node-id.
    • Simple terms, The Owner should have permissions to execute the job at the target machine.

  • What is Filewatcher?
    • It is an utility provided by BMC to watch for a File Event to occur. It might be a File Create, Update or Delete.
    • For Eg: If I want to start a job based on a File Created at a particular location, I'll setup a Filewatcher job to look for that particular file and this FileWatcher job will finished OK when It finds the file. Once this job finished I'll run the NEXT job.
    • There will be different parameters which we will be using to setup a FileWatcher job.

  • How will you use Filewatcher?
    • We can use this in 2 types.
    • Method 1: Using CTMFW Utility. This should be defined in Command field of a Job.
    • Method 2: We can use FileWatcher plug-in given by BMC. You have to import the XML file given by BMC to use this.

  • Explain Advance File Transfer (AFT)
    • AFT is another plug-in (application form) given by BMC.
    • Using this we can transfer File(s) from one location (Source) to another location (Destination).
    • To use this, AFT should be setup in Agent Configuration.

  • What is Job Type?
    • It is the type of job which you are going to define.
    • Eg: OS, File Watcher, AFT, FTP, SAP, WINDOWS, Web Service..etc.
    • Normally we'll select this option in the job properties window, on top of properties tabs.

  • What is a Template?
    • Template is nothing but a sample, which will contain certain default values in job properties.
    • You can also define a template for later use.
    • For example in your environment you'll be defining jobs with most common values then you can define that and save as a Template. Once you have saved then you can use this whenever you needed in future.

  • What are the TASK Types?
    • There are 4 TASK   types available in Control-M. They are Job, Command, Dummy and Detached.
    • Job is to execute a programme.
    • Command to execute any command at the node.
    • Dummy job does nothing. but we'll use this in certain scenarios to design some batches.
    • Detached will be used to execute ".EXE" files. You can also use Command to execute ".EXE" files but the job will FAIL with "FORK FAILURE" error.

  • Explain color coding in Control-M?
    • In Control-M you can find the status of the job based on the color of the job.
    • There are 7 colors used in Control-M to denote job status.
    • GREEN - Job Ended OK
    • RED - JOB FAILED / Ended NOT OK
    • GREY - Job in WAITING Status
    • BLUE - Waiting for RESOURCE
    • PINK - WAIT for USER Conformation
    • WHITE - UNKNOWN Status
    • YELLOW - Job is in EXECUTION

  • What are the default/basic Properties of a Control M job?
    • we have 8 default tabs for any job in Control-M.
    • General, Scheduling, Execution, Conditions, Resources, Set, Steps and PostProc
    • In Control-M/EM (AJF) Scheduling tab will be replaced by ACTIVE tab.
    • Apart from these based on the job type we'll be getting additional tabs.

  • What is Retro option?
    • If you select this "Retro" option in Scheduling tab, job can be scheduled to run even after actual scheduling date has been passed.
    • Ex: If a job scheduled to run on 20th of every month, but on 20th the Control-M Server is down, and Came up on 21st or later, then while performing the Newday Process Control-M will check for this option and bring the job into AJF though the job scheduled date has been crossed.

  • What is Forecast?
    • Additional feature control-m has to foresee the job schedule.
    • You can see this option in 'Scheduling' tab of the job properties dialog box. When you click on this option it will show you next 12 months schedule of the job based on the options you have specified in this tab.
    • Using this you can make sure your scheduling criteria is perfect as per the user request.

  • What is meant by Agent or Node? Is there any difference?
    • It is the target system where the control-m job is going to execute.
    • Agent or Node both are same.

  • Difference between Node and Node Group?
    • Node is a Single Agent where as Node Group is a collection of agents (more than 1 agent).

  • What is “wait for confirmation”? What is the use of it?
    • It is similar to a HOLD but the job won't be in Held Status.
    • Sometimes if any manual confirmation is required before executing a job, we'll use "Wait for confirmation" in Execution tab.
    • If you select this option, the job will turn in "PINK" color.
    • You have to Right click and "Confirm" the job to run (it may go in Wait status, if it has any other prerequisite conditions or time dependency)

  • What is MAXWAIT?
    • Maximum number of days that the job can wait to be executed after its original scheduling date has passed. 

  • How many types of conditions you use in Control-M?
    • 2 types. Prerequisite Conditions and Global Conditions
    •  Prerequisite Conditions scope will be in the same server/datacenter
    • Global Conditions  scope will be across servers/datacenters

  • What are Global Conditions?
    • If you would like to make dependency across the datacenter, then you have to use Global Conditions.
    • These Global Conditions needs to be defined using Tools -> Global Conditions option.

  • Types of Conditions in Condition Tab?
    • 2 types. In Condition and Out Condition.
    • In Conditions are of Predecessor job(s)
    • Out Conditions are for Successor job(s)

  • What are resources? And how many types of resources are available in Control-M?
    • Resources will be used to make mutual exclusive jobs (jobs not to run at the same time).
    • There are 2 types or resources.
    • 1 -  Quantitative Resources and 2 -  Control Resources

  • Explain Control and Quantitative Resources?
    • Control Resources are the ones which you can specify the type of control the jobs needs (Exclusive or Shared). They are often used to represent files, or database tables.
    • Quantitative Resources are resource definitions for which you specify in CONTROL-M/EM an overall quantity available to the CONTROL-M, and the amount required by the job in the Resource tab. Examples of quantitative resources you might define are CPU (%), RAM (MB), Hard Disk (GB), and Tape Drives (#).

  • Use of Set Tab?
    • It will be used to define variables to pass as parameters to the jobs.

  • What do you mean by Auto-Edit variable?
    • AutoEdit variables are resolved at time of job submission, during job execution, or immediately following job execution (depending on the variable).
    • These can be used to send as parameters to jobs.

  • What is PostProc tab?
    • This tab is used to send Alerts or Shouts to GAS or Shout Destinations (Mail or Page or Message) based on the event defined.
    • Possible events are on Job ended "OK" or "NOT OK" or "Rerun" or "Not Submitted on time" or "Not Completed On time" or "Executing for Long time".

  • What is COMPSTAT?
    • It is a Control-M variable which will holds the job Return Code of the current run.

  • What is MayBe Condition?
    • If you would like to add a In Condition only if the predecessor job exist else ignore condition, then you have to use May Be Condition.
    • It is nothing but a Conditional Dependency.
    • Ex: If JOB-B is depending on JOB-A, but JOB-B have to wait on ONLY when JOB-A is in AJF. In this case we'll give Out Condition of JOB-A as #-JOB-A-OK and in Condition of JOB-B as #-JOB-A-OK.
    • If you add #- before the condition name that will be taken into account only when the job is in AJF.
  • If the Maximum Reruns for a cyclic job is set to 0 that means it will run forever?
    • The newday process performs a stopcyclic if the Keep Active For (MAXWAIT) value is exceeded.

  • Is there a limit for the Post Processing actions you can set for a job?
    • There is a limit set in version 8 for Do post-processing actions set to 99.

  • Is it possible to set a cycle interval to minutes and seconds?
    • You can use days, hours and mins. No Seconds options.

  • What is the max number of specific times we can put?
    • You can put as many as you want without repeating.

  • Can I change the cyclic intervals in the monitoring domain?
  • When I change the interval of a job in the AJF, when will this take effect?
    • Yes, this will take effect after the next run time.

  • If "No Tolerance" is defined, will the next execution get skipped?
    • Yes, the default for the Tolerance Parameter is 0. If the previous execution doesn't finish when the next specific time is reached, then the Cyclic Job will skip this execution.

  • Can we use a normal calendar with specific dates?
    • can use the "Specific Dates" option without defining a new calendar. or create a Regular calendars are based on specific dates.

  • Can you explain RBC's (Rule-Based Calendars) importance?
    • With Rule-Based Calendars you can create complex scheduling definitions. You can have the Rule-Based Calendar definition with the "Advanced Scheduling" option, and with these calendars, you don't have to worry about maintaining the calendar definition every year.

  • Regarding Confirmation Calendars, how is the And/Or option used?
    • The And/Or option only applies to the Month Days and Week Days selections when using the Advanced Scheduling option. Confirmation Calendars act with an "AND" relationship to the rest of the schedule.

  • What happens when you set a job's rerun interval to Start?
    • All intervals between executions are based on the start time of the job's previous execution. If you use END, it will consider the time from the end of execution.

  • If you use an interval of days do you need to use the Keep Active For (MAXWAIT) Days?
    • Yes.

  • If the tolerance is missed, does that mean that job event will not be run at all?
    • Yes, that execution time will be skipped. When the next specific time arrives, the cyclic job will resume normal processing if the job is not in execution.

  • Cyclic job: set up job for 4 specific times, 9:009:1010:0011:00. Tolerance set to 5 mins. If the 9:00 execution is still running at9:10 and completes at 9:25, will the job still run at 9:10?
    • The 9:10 execution will be skipped. Once the 9:00 execution ends at 9:25, the job will not execute again until 10:00.

  • Is there a recommended cyclic minimum for best performance? Would a cyclic job with rerun interval of 0 min impact the performance of Control-M?
    • It depends on the performance of the machines where the Agent and Control-M/Server are installed. Each additional submission and execution increases the overhead on these machines, which will consume more CPU and Memory.

  • How can we set up a cyclic job to execute past newday?
    • If CYCLIC_MAXWAIT (Control-M/Server system parameter) is set to KEEP (default), cyclic jobs are only deleted from the Active Jobs database after the expiration of the Keep Active for parameter.

  • If you have a job scheduled let's say on Monday - Friday except for holidays and to roll back, so let's say 4th of July is Tuesday, will I have 2 of the same jobs running on Monday? and if so how can that be stopped so that 2 of the same jobs don't run on the roll back day?
    • If you are using a Confirmation Calendar to shift to the previous working day, you will have only one instance on Monday.

  • What does the "shift by" parameter do in RBCs?
    • The "Shift by" option sets the number of working days the job can be moved when the RBC does not match the Confirmation Calendar.

  • How are RBC different from Periodic calendar?
    • Periodic calendars: Enables you to create a pre-defined calendar based on different calendar periods that you define. Periods can be nonconsecutive, of varying length, and overlapping.
    •    Rule-based Calendars: Enables you to create a pre-defined calendar that is based on specific rules.
    •    You can use the options for Job scheduling like Month days, week days, Advanced scheduling, etc.

  • Will Forecast show previous days?
    • Yes, it will.

  • If cyclic job fails, and it takes a while to fix, will the cyclic start from the time we fix, or will it keep running while the one is failed?
    • By default, a cyclic job will continue its schedule regardless of an individual execution ending NOT OK. You can prevent this for an individual job by using an On-Do action to "stop cyclic". You can change this behavior at the Control-M/Server level by changing the Control-M/Server system parameter CYCLIC_RERUN from "OK" to "NOTOK".

  • Is there any way to prevent a "standard non-cyclic" job from being rerun? 
    • When you click Rerun the job will just not be submitted...
    • You can set this in security settings at the user or group level, not through the job definition.

  • Can a rule based calendar be used everywhere that a regular calendar can in scheduling definitions?
    • Only regular calendars can be used as confirmation calendars.

  • If we use Forecast for previous, how can we use Archive and history options?
    • Forecast shows, based on current schedule, when things would run. The history domain shows archived viewpoints that have real data about previous days.

  • I have a job that starts at 23:00 hrs and my NDP is at 00:00. And the job is setup to run between 23:00 and End of Day. The server is unavailable and it became available after 00:00 hrs. So now will the job run immediately or it will wait for 23:00 hrs?
    • If the Server becomes available before the 00:01 hours it will run. If not and Keep Active For (MAXWAIT) is set accordingly, the job will run again at 23:00.

  • Can you run a job based on relative days, like 5th business day of the month?
    • Yes, you need to have a calendar for business days and select the option "based on calendar" using this calendar. Then, select the option "Relative Calendar Days from Start/End of Month/Period" and select the 5th day.

  • If a job fails, I want that job to wait for 10 min and then rerun automatically. Is that possible through Rerun Setting in Actions tab?
    • The interval under Rerun Settings can be set to rerun every 10 minutes from a job's end, even for non-cyclic jobs, and a "Do rerun" action will honor these settings.

35 comments:

PSstudent said...

Can anyone please post more questions. I will have a competency in a week.

Mahi said...

am trying to prepare more.. will keep this updated....

8080_Diver said...

Is it possible for an SSIS package excuted by a Control-M Job to force (or fake) a condition that would normally be set as an Out Condition?

COPS said...

Hi,
I would like to know if we can :
1. Execute a single job with 2 time parameters for specific days.
eg: JOB_1 - has to runs at 11am all days except on sun at 2pm. how is it possible? May be script can work out.

Mahi said...

@cops.... I don't think you can use in a single job, But if you are using Scheduling group then there is a possibility to accomplish this... Try this option.

Quddus Ayaz said...

Hi,
Could you please tell me an easy way to force multiple jobs at one go. Is it possible to force jobs from Excel/XMLs

Mahi said...

Hi Ayaz,

You can just give the table name and give * in the job field, it will Force entire table contents or you can use wildcard after some job pattern like "Mahi*".. it will force all the jobs which starts with "Mahi" else you can also use "*test*".. it will force all the jobs in the table which contain the word "test" anywhere in the job name.

Feel free to post your queries here.

Thanks,
Mahi

エビー(Aby) said...

Can we add a VB Script/Pearl script/ SQL stored procedure as a job in Control M

Mahi said...

@Aby.. Yes you can. Scripts you can use as a Embedded script or you can create a windows bacth file to run them and schedule using command task type.

karges said...

@mahi hey i have some list of applications and table configured in few servers on which control m is there. so using control m desktop i will be able to load all the tables which are in all the servers (13 in no) is it possible that i could get all the table names and application names and coresponding owners with out visiting each tables in desktop (which i will load).as in any reporting fcility using control m variables or something . agent is in unix so as i know shell script , any idea using shell script would also do or me.

ges.kar@gmail.com

Mahi said...

@Karges... Yes.. you can write a script with sql query on CTM/EM DB tables (DEF_JOB & DEF_TABLES) to get the list, export them to csv file and mail to your desired email-id. Later you can schedule the script thru control-m and you can run it as and when required.

Prabu Jothi said...

Hi,
Could you please tell me, How the peregrine tickets creates if any jobs failed in control-M.

VINEET GUPTA said...

Hi All,

Could anyone please help on why I am getting so many alerts for "FAILED TO DELETE CONDITION *************". When I search for the respective job, the out condition is mentioned with minus sign.

Please share some solution to prevent such alerts.

Thanks and Regards,
Vineet

Mahi said...

Hi Vineet,

When there is no condition exist and if you try to delete that then control-m will throw that alert.... Hope that helps....

Regards,
Mahi

VINEET GUPTA said...

Got it...Thanks Mahi.

rohan shetty said...

Hi ,

Control M EM Web Launch 7.0 does not seem to work on IE version 11.
It works fine on IE version 8 /9.
I cannot downgrade my IE version from 11.
Can anyone help me with this?

Thanks,
Rohan

Naveen Rana said...

I work on multiple workspaces in one Control-M Desktop window & toggle between workspaces using CTRL+TAB.

When I work on 2 or more workspaces in one control-m desktop instance I could close any workspace while retaining others using a close X button - that close only one workspace and I could continue my work on other workspaces.

Now, problem statement:
the button to close workspace is gone now, I did something stupid (i don;t remember what I did) but now I have to close Control-M desktop instance everytime I want to work on new schedule.

Problem statement in layman language:
Assuming, I'm using GOOGLE CHROME (alias for Control-M desktop) I can open new TAB (alias for workspace) but I don;t see button X to close tabs.

Naveen Rana said...

HELP HELP HELP.....

Naveen Rana said...

Got it bhai logo....CTRL+W works same....chrome analogy paid off.

Most happy person in the world now!!

cheers

Pratap Dixit said...

how resources are defined and how to get jobs relating to same resource i.e. to know which jobs are mutual exclusive for the same resourcess...?

Bharani Bala said...

Hi Mahi,

We had DST changes in Australia on the 2nd of OCT. Since then, two days jobs are getting loaded in CTM EM. Please help in getting this sorted out.

Sravan Kumar said...

Hi,

Can any one help me how to watch multiple files using one file watcher job ...
URGENT...
Thanks in Advace..

Unknown said...

Hi
1)can any one please tell me how to restore archived viewpoints from a server.
2)and how to backup control-m environment....

Mandla Sibanda said...



You



I’m really desperate for assistance, hope you would be able to assist. I have created a Viewpoint I call “Lasto”. I’m trying to create an Active Jobs report with the Reporting Facility, what I’m battling with is, I need only report on jobs from that Viewpoint. In other words in my filters I would specify something like : “ViewPoint = Lasto”. But now the problem is there is no “ViewPoint” option in my filter Field Name dropdown. How can I resolve or work around this. Please assist me.



I’m really desperate for assistance, hope you would be able to assist. I have created a Viewpoint I call “Lasto”. I’m trying to create an Active Jobs report with the Reporting Facility, what I’m battling with is, I need only report on jobs from that Viewpoint. In other words in my filters I would specify something like : “ViewPoint = Lasto”. But now the problem is there is no “ViewPoint” option in my filter Field Name dropdown. How can I resolve or work around this. Please assist me.

Sathish Pothireddy said...

how to prefix certain text to the file name after successful FTP using AFT?

Eswaran Eswaran said...

Thanks.....please give more Update.

Unknown said...

how do I use AcalendarX to schedule jobs not on that calendar...ex if AcalendarX has M-F, I want a job to run not days not on that AcalendarX(sat-Sun)?

Unknown said...

what can I use in control M in order to stop the job execution on control m agent in plan... Like Fence in TWS

Rahul Dubey said...

what can I use (UTILITY)in control M in order to stop the job execution on control m agent in plan... Like Fence in TWS

colg said...

I run a script that executes some programs in the forground and others in the background. CTRL-M can detect the status of the forground processes but the background processes always 'succeed' even if they have actually failed (RC ne 0). How can CM monitor processes submitted in the background?

tushar said...
This comment has been removed by the author.
tushar said...

Could you please help me with this.

How can I ForceOk all the runs of a cyclic job?

I have cyclic job run 100 times in a day, based on a condition. Sometimes when it just receives 90 conditions in day, rest of the 10 cycle does not complete and accumulates as unfinished jobs over a period of time.
Is there anyway I can force all of them ok?

reshma jadhav said...

Hi,

Its simple Q. I am currently using Control M 9. On AJF, If I want to change multiple job with same SUB-APP at one go. Can I do that? is that functionality available?
If I select all jobs and go to properties, it just edit one and come out.

Thanks!

Pascal72 said...

Hi,

Is there a way to automatically send an email to the printer when a job completes OK instead of just sending an email to users? I am trying to figure this out without having to figure out how to write a Powershell or windows batch script to do this.

Thanks!

Unknown said...

Hi,
I have a set cyclic jobs for which I want to configure them in such a way that if they are running longer than 2 hours they should be killed automatically
How can I configure it

Post a Comment

Twitter Delicious Facebook Digg Stumbleupon Favorites More

 
Design by Awesome Deals | Bloggerized by Mahendra - 24x7FunOnline