Questions tagged [control-m]

Control-M is workload automation (traditionally called batch scheduling) software obtained by BMC Software via its 1999 acquisition of New Dimension Software.

Filter by
Sorted by
Tagged with
0 votes
0 answers
21 views

Control-M Swagger UI API: Is there any API to fetch the history of a job?

/run/jobs/status allows us to get the current status of a job or multiple jobs such as job end time, run status and so on. My question is, is there any API to get the run history of a job? Through an ...
John Doe's user avatar
2 votes
2 answers
140 views

How to reuse control M jobs and workspace for different environments

I am new to control M, but my team has recently decide to integrate it into our workflow. We currently have a workspace with a set of OS jobs using command to run on unix servers which are each ...
experiment unit 1998X's user avatar
0 votes
0 answers
12 views

Can I add a day to control-m based on the current system time?

I am currently working on sending rundate and time in the PostData via a control-m job. I want to add a day to current date when time is before noon. But if the time is pass 12, then keep the rundate ...
SACHIN SHAHI's user avatar
0 votes
1 answer
63 views

How to trigger a MWAA dag from python script or from control-m job?

I have an requirement to start the mwaa dag from control-m job or from python script, I guess api call to mwaa from open internet is not allowed.from internet I came to know we can do this by lambda ...
Sabarijeyanth veerasekaran's user avatar
0 votes
1 answer
31 views

Control M schedule change

I have a question for control M schedule change. For exmaple: I have three jobs,in my current plan, A,B and C which run in control M daily in sequence with dependency as A->B->C . I don't want ...
Ajinkya's user avatar
0 votes
1 answer
37 views

Dynamic Job Definitions using Control M REST API (Version 9.0.19)

How do I create a Dynamic job definition and run it for one time execution only (like on-demand job) using control-m REST API Automation? Every time I pass a JSON file it is being considered as a ...
fsociety's user avatar
0 votes
0 answers
20 views

How to trigger a unix job on EC2 instance from AWS Eventbridge?

I have a unix job on redhat linux server which is being triggered on specified time via Control M tool. Now, I am migrating the linux server to AWS (ec2 instance). On AWS I don't want to trigger the ...
Suraj_Sahni's user avatar
0 votes
0 answers
9 views

If control m is calling a database job what nls_date_format the session use

If control m is calling a database job what nls_date_format the session use. I am getting not a valid month error and when I am rerunning it, it is completing successfully. For most of the control m ...
Lalit Singh's user avatar
0 votes
0 answers
74 views

powershell - SSIS send mailmessage to multiple recipents

i have this powershell script to send emails that set the variable from SSIS packages, but when i add multiple recipients, only the last one gets the mail from SSIS package(i.e. 3 in total) but all ...
Tirtha Shrestha's user avatar
2 votes
1 answer
114 views

Sequencing of on do actions

I was wondering if there is any way to sequence what order the on do actions after a job occur. Currently I have on do actions for when the job ends not ok that seem to trigger after variable value ...
PKe's user avatar
  • 21
0 votes
1 answer
55 views

Is there a way to use on-do actions to remove the In Condition before rerunning a Control-M job in version 9?

I've got a problem on BMC CtrlM V.9, i want a job who delete a In Condition before perform a rerun, to be in a state that it waits again his in condition. I tried to use the on-do actions in this way: ...
Piaroc's user avatar
  • 1
0 votes
0 answers
38 views

Ctrl-M powershell script not reading SQL correctly

I have some powershell which is run by control-M. It run a SQL script and outputs the tables to an email. What seems to be happening (Only when running through Control-M) is that every other run or so,...
Badja's user avatar
  • 867
0 votes
0 answers
23 views

Creating a Webserive job in Control-M with JWT Authentication

I need to create a control-m job of Webservice type. In this job I need to call a POST API which is authenticated using a JWT token. The token has to be generated from the control-m using a client ...
Gokulkrishnan's user avatar
0 votes
0 answers
36 views

Control-M Issue with Linux shell script with 'spawn scp' source file having a directory name containing spaces

I have the following shell script that runs automated scp commands. copy_prod_files.sh content: #!/usr/bin/expect spawn scp ftpaccess@prod:/storage/data/files/'Excel\ Docs'/file1.xlsx /data/prod/ ...
punsoca's user avatar
  • 491
0 votes
2 answers
301 views

Is it possible to define a runtime variable in a control-M job script using if else statement

I am trying to create a control-M script that depends from the environment, so i am trying to define a variable called "folder" that gets a value, according to the env (where the job is ...
Olfa2's user avatar
  • 69
0 votes
1 answer
48 views

Query wait conditions with API?

Can the Control-M API be used to find out what conditions a job in the current NEWDAY is waiting on? I realize this is a simple question, but I do not yet have access to use the Control-M API.
lit's user avatar
  • 15k
0 votes
1 answer
368 views

Control-M How do I remove a portion of the filename during Advanced File Transfer

I am trying to figure out how I can simply remove a portion of a filename on a transfer. I need the numbers to remain unchanged with 'check-aft' buttressing up against them as a prefix. Source: check-...
Red Scofield's user avatar
1 vote
1 answer
2k views

Kubernetes Job doesnt complete if the pod end up with error

we are doing case study with control-m to monitor Kubernetes job. On successful completions of job, control -m is able to recognize the job completed. however when it fails, it never recognize the ...
Programmer007's user avatar
0 votes
1 answer
214 views

Is it possible to integrate Control-M with MWAA Airflow to trigger and monitor jobs?

Pretty new to these orchestration tools. Is it possible to integrate Control-M and mwaa airflow to trigger/ track jobs? Couldn't find much information regarding the same.
Kya Senpai's user avatar
0 votes
2 answers
368 views

control-m schedule job from last working day to last calendar day of a month

I want to run a control-m job daily from the last working day of month to the last calendar day of a month. Suppose there is a calendar defined in control-m for working dates 26th, 27th, 28th on ...
Sujingo Tmrkill's user avatar
0 votes
1 answer
85 views

Can I overrid the message in the NOTIFICATIONS AFTER JOB COMPLETION in job definition?

I'd like to override the message that was coded for the 'Notifications after job completion' when submitting a job to control-m, by setting a variable at the time. I haven't found if that 'message' is ...
csbl's user avatar
  • 265
0 votes
0 answers
151 views

where can i find the last run time of a job in control - m?

I am new to Control M and would like to find out where can i find the last run time of a job in control - m. I have checked in the synopsis and Details tab and it is nowhere to be found.
arshad shaik's user avatar
0 votes
1 answer
443 views

Order failed in Control-M, Folder does not exist

I can't order my Smart Folder in Control-M, I'm getting the following error: Action: Order, failed. Request rejected by Data Center CTM5703 FOLDER XXXX DOES NOT EXIST I double checked the entire flow ...
Katheria's user avatar
0 votes
2 answers
524 views

I need my Control-M File Watcher job to pick up a file having a specific type of file pattern name

I have files of two file pattern HUB.SG.20220902.01.P and HUB.SG.20220902.001.P in the second file name the .001. will keep on incrementing like the next file will be HUB.SG.20220902.002.P . . . HUB....
Aman Singh's user avatar
0 votes
2 answers
82 views

Authlib module not found on bmc control-m

I am running a code with uses authlib module and it runs fine with all dependency met but when I try to automate it through bmc control-m it gives module not found error. Any help would be really ...
Hardik Jalali's user avatar
0 votes
2 answers
358 views

Spring Boot with Control-M

I am starting to read about Control-M batch automation and am unfamiliar with it at this moment. I have been asked to investigate if Control-M can be integrated into a Spring Boot REST API. Based on ...
pixel's user avatar
  • 9,889
0 votes
0 answers
351 views

Extracting files using batch file in Control M

I have a batch file which has command: "C:\Program Files\7-Zip\7z.exe" x Y:\lit\tail\ger\ger\FTP\SMS\2022-05-31\ It runs successfully when runned manually by doubling clicking the unzip.bat ...
Dikshit Karki's user avatar
0 votes
1 answer
149 views

how to customize notification of control-m?

I want to send a http request to my own applications when job ended ok ? Is this notification supported by control-m Or Is there any other ways to fulfill my requests? enter image description here
Benny.Lu's user avatar
0 votes
1 answer
133 views

What is the difference between an CYC and ECJ Task type in Control-M?

I searched the user manual and user guide for z/OS and could not find any explanation of what exactly is an ECJ - Emergency Cyclic Job and what is the difference to a CYC job. Thank you
csbl's user avatar
  • 265
0 votes
0 answers
917 views

creating pivot tables in excel via openxml

i need to make manipulation on excel file and create few complex pivot tables(using filters) using openxml. additionaly if someone know if its posible to use the BMC control-m on the batch application?...
Y.D's user avatar
  • 105
0 votes
1 answer
122 views

Control-M overriding command script

Can you override a command parameters in Control-M when ordering a job? For example, the command parameters -s %%YYYY-%%MM-%%DD. -e %%YYYY-%%MM-%%DD. will give me the dates output as s 2022-04-12 e ...
Bond's user avatar
  • 25
0 votes
2 answers
869 views

Control-M: Order date (prerequisite), two jobs with different load dates

I have two jobs with different load dates (not same day): JobA: runs at the end of month (may be 28th, 29 th, 30th). JobB: runs at the beginning of the month (may be 1st, 2nd). I want to make JobA ...
Moussa Bâ's user avatar
1 vote
0 answers
141 views

Run Control-M job with a script that is stored in a GitLab repository

is it possible to run a job in Control-M that accesses a (e.g. DB2) script stored in a Git repository? Normally it is the case that you specify a path where the script is located. How would this look ...
frenchomega's user avatar
1 vote
1 answer
2k views

Jenkins pipeline stage build is green even though an error is present

I have a Jenkins Pipline with three stages: "Build" "Test" and "Deploy". Here is the problem I have with "Build": The build step ensures that structure of the ...
user avatar
0 votes
1 answer
873 views

removing new line "\r\n" and ^M characters in all column except last one { in UNIX}

Got a solution to format a unix file containing ^M and "\r\n" in a file as per shared link earlier "https://stackoverflow.com/questions/68919927/removing-new-line-characters-in-csv-file-...
Eja's user avatar
  • 45
0 votes
2 answers
2k views

Can I add a variable date in a ControlM job that will be used in a script?

I have a ControlM job that launches a script for a BDD extraction for an interval depending on the system date. For example: a script being launched daily to make an extraction for the users logged in ...
Yaih's user avatar
  • 1
0 votes
1 answer
1k views

Control M Email Notification shout when Job not ended OK

I've 50+ jobs in a control m folder. For specific jobs, I want to update on do action like when job ended not ok, it should send email. I can find the specific job using "Find" option. But ...
Guhan DM's user avatar
0 votes
1 answer
998 views

Scheduling Dependent Jobs in Contol-M

I have a flow that needs to be trigger automatically on Tuesday every week. In this, I have 4 jobs all dependent on each other. JobA<-JobB<-JobC<-JobD I have put all 4 jobs in one SMART ...
Mihir Garg's user avatar
0 votes
1 answer
367 views

Control-M - analyze SQL Server output with On-Do Actions

We are using Control-M to submit several batch jobs to a legacy application, but due to limitations, the only way to monitor their status is by querying the Process table of the DB. Process table: ...
Smeckop's user avatar
  • 69
0 votes
2 answers
791 views

Subtract 2 minutes from order date in Control-M

In Control-M, I have a job that's scheduled 2 minutes after a batch interval ends, e.g. August 13th, 2021 at 00:02 (local time). I need to pull files from a server on the format "YYDDMMHHMM.zip&...
malthe's user avatar
  • 1,284
1 vote
1 answer
3k views

What is the difference between the ODATE and the RDATE? Control-M

Does somebody know the difference between the ODATE and the RDATE? The manual says: ODATE --> Original scheduling date of the job. RDATE --> Installation current working date. But that is not ...
Isaac's user avatar
  • 11
0 votes
1 answer
793 views

Control M does not get error from stored procedure

I have a very simple stored procedure. Here just an example that can reproduce the error. I want to schedule some procedures under Control-M and avoid a multitude of applications. I added a simple ...
user_0's user avatar
  • 3,212
-2 votes
1 answer
57 views

Update non-Periodic Calendar dates in control-m using excel

I have business dates in excel sheet which have no rule base or specific pattern. In this case how to use excel directly to update different calendars of different application at once.
Query's user avatar
  • 1
0 votes
1 answer
1k views

Control-m scheduling montly run

i have a job that must run the first monday of each month then i need another few jobs to run the first Tuesday, Wednesday and Thursday after the first monday, any idea how should i configure the jobs?...
Axl Cross's user avatar
0 votes
1 answer
239 views

Control-m scheduling job for 2 options

A job has a predecessor. So as aoon as the predecessor is finished the job starts running. But is it possible to schedule the job as follows: 1)when the predecessor fonishes before say 5 o clock the ...
noejfah hossain's user avatar
-2 votes
1 answer
2k views

Control-M out condition added with number at the end

We have a control-m jobs out condition to trigger the next successor jobs. But, we could see the some numbers are getting added at that. What would be the check in the job settings need to add to get ...
Rocky1989's user avatar
  • 369
0 votes
1 answer
972 views

File Watcher Job in control to run as many times the files are placed during a time window

We have a utility which gets invoked as soon as a csv file is placed. The files for these can be manually placed by anyone in a "work" directory and the expectation is as soon as the file is ...
Amit's user avatar
  • 101
1 vote
2 answers
3k views

how to run control m job through python script?

i have a control m job instead of triggering it through control m application i want to trigger through my python script but i don't know how to perform this action is there any module available in ...
anil tiwari's user avatar
2 votes
1 answer
3k views

How to install and connect to Control-M Agent in a Kubernetes cluster?

I am very new to using Control-M. I need to install Agents inside a Kubernetes cluster -could you please tell me which steps I need to follow or point me in the direction of the relevant documentation?...
lala1's user avatar
  • 23
1 vote
1 answer
908 views

How to call Control-M API's using Postman?

I have been trying to use the Control-M API documentation provided by BMC, and I am unable successfully invoke an API call to it. When tried to first provide the login credentials using /login ...
Thinker-101's user avatar

1
2 3 4 5