How to submit a job in Control-M Server to ignore the Condition of its predecessor - INCLUDES VIDEO
Knowledge Article
How to submit a job in Control-M Server to ignore the Condition of its predecessor - INCLUDES VIDEO
How to submit a job in Control-M Server to ignore the Condition of its predecessor?
Control-M/Server for UNIX and Microsoft Windows
Control-M/Server for UNIX and Microsoft Windows
Control-M/Server for UNIX and Microsoft Windows
Control-M/Server for UNIX and Microsoft Windows
Control-M/Server for UNIX and Microsoft Windows
Control-M/Server for UNIX and Microsoft Windows
For example:
There is 3 jobs defined in a SMART table, each connected by Conditions but with different scheduling criteria
JobA - Only on Monday JobB - All days JobC - All days
How to use the parameter "Adjust Condition=Y" in this scenario? In order for JobB to run regardless of the Condition it needs to receive from JobA all other days than Mondays when JobA will create the condition expected
The parameter CTM_TABLE_ADJUST_DUMMY in the ctm_server/data/config.dat file on the Control-M/Server host needs to be set to Y (its default is N). This way, a dummy job will simulate JobA and JobB will be able to run on days other than Monday, ignoring the Condition needed. It's important to note that this dummy job will post the conditions and perform all the actions configured in the "Actions" tab of the original job definition.
In Control-M/Server Version 9.0.00, this System Parameter is called CTM_FOLDER_ADJUST_DUMMY.
CTM_FOLDER_ADJUST_DUMMY parameter with value Y does the following - A dummy job waits for the prerequisite conditions expected by the job it is replacing, and performs the post processing of the job. When a SMART Folder is ordered, jobs in the folder that should not be ordered at this time are ordered as DUMMY jobs. This functionality is useful for data centers that require identical job flow regardless of whether certain jobs in a folder are ordered for a specific instance of the folder.
If the jobs are waiting for conditions across different SMART folders, the Smart Folder (that contains a job which is ordered only on on specific days and adds the condition) should have the same RBC (Rule Based Calendars) as the job that waits for its condition, and both folders must have Adjust_Condition setting set to Yes, and Control-M Server must have setting CTM_ADJUST_COND_SCOPE as AJF (default value GROUP).
The parameter CTM_ADJUST_COND_SCOPE can either be set to Group (SMART Folder level) or AJF (Control-M/Server level). There is no option for Global Conditions (conditions from other Control-M/Servers are not adjusted).
Be aware CTM_GROUP_ADJUST_DUMMY provided this function in earlier product versions but is obsolete as of version 7.0.00.