Get a list of folder names with the Control-M Automation API
I use the Control-M Automation API version 9.0.21.100 to discover folders, jobs, calendars, resources and other Control-M configuration and then push them into an Azure DevOps repo so I can track changes. Today I use the GET /deploy/jobs endpoint to search Control-M for folders matching wildcard patterns. But that takes a lot of time and requests.
How to find the previous day’s date in YYYY-MM-DD format in Control M?
In the following two ways, I calculate, for example, some dates that I have as parameters in a control job m.
Control M Dynamic job variables according to order date
We have some embedded script jobs that are deployed with calendars in Control M. Those jobs are orders and run as calendars are defined. Those embedded script jobs need some parameters to run for now we fetch these arguments using LIBMEMSYM and deriving variable name using Smart folder name, job name and order date. Are there any way to tie arguments with calendar date. we have specific values for these arguments on different order days.
How to schedule a job to run if the previous day was a working day (based on a calendar) in Control M?
I haven’t been able to figure out how to shcedule a job to run only if the previous day was a working day.
Can someone help me out with this?
How do i auto-order jobs but not auto-run them in Control-M?
How do i make it so that CTM would automatically order a set of the same jobs everyday, but hold them ? The ordered jobs should not be run as they will be run manually.