How to use Rule-Based Calendars in Control-M Workload Automation - INCLUDES VIDEO

Version 1
    Share This:

    This document contains official content from the BMC Software Knowledge Base. It is automatically updated when the knowledge article is modified.


    PRODUCT:

    Control-M/Enterprise Manager


    COMPONENT:

    Control-M/Enterprise Manager


    APPLIES TO:

    BMC Control-M/Enterprise Manager 8.0.00 BMC Control-M/Enterprise Manager 9.0.00



    QUESTION:

    How can I use Rule-Based Calendars?


    ANSWER:

     

    The following video demonstrates this article:

      

                                               
    Other languages:DeutschEspañolFrançaisItaliano
      

     

      

    To create a Rule-Based Calendar:

      
       
    1. Open the Workload Automation GUI
    2.  
    3. In the Planning domain, select the "Tools" ribbon.
    4.  
    5. Click "Calendars".
    6.  
    7. In the "Editing" section of the ribbon, click "New".
    8.  
    9. Click "Rule-Based".
    10.  
    11. Name the calendar and set the rules.
      

    How to specify a rule like "the nth-last some-day of each month" (e.g. the second-last Tuesday of each month)

      
       
    1. In the Calendar definition, select "Month Days".
    2.  
    3. Select "Days from end of month".
    4.  
    5. Expand the list of days from the end of the month by clicking the left-pointing arrow.
    6.  
    7. Select the 8th through the 14th last days for the second-to-last set of weekdays.
    8.  
    9. Click to expand the "Limitations" section of the calendar definition.
    10.  
    11. Select the desired day of the week.
    12.  
    13. Select the desired months.
    14.  
    15. Click "View Schedule" to confirm the schedule is as desired.
    16.  
    17. Click "OK".
    18.  
    19. Click "Check In" on the new calendar.
      

    How to specify a rule like "the first work-day of each month" (based on an existing Regular work-days calendar)

      
       
    1. Create a regular calendar that includes all and only the business days.
    2.  
    3. Create a rule-based calendar based on that calendar, set to schedule "Relative Calendar Days from Start/End of Month/Period"
    4.  
    5. Select only the first calendar day of the month.
    6.  
    7. Select all months.
    8.  
    9. If you have Control-M/Forecast installed, you may click "View Schedule" to verify that the calendar is defined to run on the days you want.
      
    Please refer to the attached screen shot to see how this would look.  

    How to set multiple Rule-Based Calendars onto a single job in a SMART Folder.

      
       
    1. On the "Scheduling" tab of the SMART Folder, select desired calendars under "Control-M Rule-based Calendar".
    2.  
    3. Do not remove the "EVERYDAY" calendar if you still want the SMART Folder itself to run every day.
    4.  
    5. Add the desired Rule-Based Calendars to the appropriate jobs within the SMART Folder on the jobs' respective "Scheduling" tabs.
    6.  
    7. On any such job, click "View Schedule" to visually confirm the desired schedule.
       

     


    Article Number:

    000029568


    Article Type:

    FAQ/Procedural



      Looking for additional information?    Search BMC Support  or  Browse Knowledge Articles