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.

Control-M is workload automation (traditionally called batch scheduling) software obtained by BMC Software via its 1999 acquisition of New Dimension Software. It was originally written for mainframe computers, but is also available for distributed computing platforms including Unix, Windows, Linux and OpenVMS environments.

It is designed for automation of various functions in the enterprise including traditional IBM mainframe OS/MVS JCL, batch files, shell scripts as well as routine functions such as invoking database stored procedures, invoking and using Web services and handling file transfers inside and outside the organization.

Control-M can schedule workloads on a daily, weekly or monthly interval. It can also be used to respond to trigger events such as the appearance of a file, being called by a third party application through an API, or invocation on demand through Java or Web services.

Source: Wikipedia (BMC Control-M)

Documentation currently available here.

212 questions
41
votes
9 answers

Display exact matches only with grep

How can I display all jobs that ended OK only? When I try the command below, it shows both OK and NOTOK since both have "OK" ctmpsm -listall application | grep OK
heinistic
  • 731
  • 2
  • 8
  • 16
8
votes
2 answers

Search in logfile - exit code

I have some legacy softwares that I need to automate under Control-M. These job are under Windows 2008R2. These jobs have an exit code 0 if they run ok, but also if they can manage some errors. I need to raise an alarm when a specific string is in…
user_0
  • 3,173
  • 20
  • 33
4
votes
2 answers

How to integrate java with control M

I have few control-M job running on server. I can perform basic operations like to start/stop or pause any JOB from control M Interface.But there is not a development environment available for Control-M. I have another java application from where I…
The PowerHouse
  • 560
  • 14
  • 29
4
votes
4 answers

Scheduling PowerShell jobs in Control-M

I am facing this problem with Control-M. I have created a simple PowerShell job and sceduled it in Control-M with Task Type as command. After executing, the job status become green but it does nothing it is expected to do. However, the job is…
Utsav Datta
  • 51
  • 2
  • 5
3
votes
1 answer

AWS Batch vs AWS Step functions for Control M migration

The goal is to migrate our jobs from Control M to AWS, but before I do that I want to better understand the differences between AWS batch and AWS step functions. From what I've understood, AWS step functions seems more encompassing in that I can…
Jeremy W
  • 1,889
  • 6
  • 29
  • 37
3
votes
3 answers

Add Control M character in a text file

Hi I am trying to add Control M character in a text file using Putty. I tried to do Ctrl-v Ctrl-M but as soon as I do this it goes out of putty to my desktop home.Can anyone please tell me how to add Ctrl M character in a file
Pramod Bhat
  • 49
  • 1
  • 6
2
votes
1 answer

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 actions even if they are higher on the list of on…
PKe
  • 21
  • 1
2
votes
1 answer

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? Once installed (which I don't know how to do),…
lala1
  • 23
  • 1
  • 3
2
votes
2 answers

nodejs/npm - package not working when using vpn

I'm having trouble using an npm package when connected to a forticlient vpn. I'm using latest versions of nodejs and also npm. The package I'm using is ctm-cli. This is a command line automation package for a work scheduling program called…
Jack Williams
  • 195
  • 1
  • 1
  • 15
2
votes
2 answers

Python exit code not capturing in control-m

Running python code through Control-M Jobs.If below code exit with status 7 in python. Control-m should capture code and on do Action if status 7 then code should set As Ok and should mail through Control-m. try: fh = open("testfile", "r") …
saikrishna
  • 59
  • 8
2
votes
2 answers

how to make a dummy job to run for 30 minutes in controlm

I have the requirement to run dummy jobs for 30 minutes and 60 minutes respectively. I have tried with --delay 30 in command line jobs, but I did not get the expected delay.
sharath kumar
  • 21
  • 1
  • 2
2
votes
2 answers

How can I run a job on demand in Control-M

We would like to run a job in Control-M on demand from an external application without the use of a scheduler. Is there a Web Service or API that Control-M provides to accomplish this on a .Net application?
user1261620
  • 377
  • 2
  • 5
  • 12
2
votes
1 answer

Can Control-M execute a http service endpoint to GET job status?

I am very new to control-m and wanted to ask if control-m supports this scenario: We have a http webservice that runs a log running job e.g. http://myserver/runjob?jobname=A This will then start job A on the server and returns a job id back. I…
InfoLearner
  • 14,952
  • 20
  • 76
  • 124
1
vote
1 answer

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 failure it shows job is still running,i suspect job…
Programmer007
  • 67
  • 1
  • 7
1
vote
0 answers

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 like when working with a remote Git repository?…
1
2 3
14 15