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
1
vote
1 answer

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 Control-M Automation API json files are valid. To do this, I utilize the $endpoint/build…
user9323079
1
vote
2 answers

Scheduling issues with Control-M

I am working on scheduling some jobs using Control-M. My scenario is as below: I have the following jobs - Job 1, Job 2, Job 3 and Job 4. All of them does an insert into the same table. I have to schedule all the four jobs to start at the same time.…
visakh
  • 2,503
  • 8
  • 29
  • 55
1
vote
1 answer

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 helpful for me. Thanks a lot.
Isaac
  • 11
  • 1
  • 3
1
vote
2 answers

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 python which can trigger control m job and also how…
anil tiwari
  • 195
  • 13
1
vote
1 answer

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 resource to get the apiKey which I could use for further…
Thinker-101
  • 554
  • 5
  • 19
1
vote
1 answer

Powershell: Not able to send email using ControlM

I am able to run the below sample script from command line when on the box but facing issues while attempting to run the same script from controlm. # mailtest.ps1 $cmd='Send-MailMessage -Body "body" -To "to@abc.com" -From "from@abc.com" -Subject…
Soumya
  • 885
  • 3
  • 14
  • 29
1
vote
3 answers

controlM variable for YYYYMM?

I'm using ControlM and in a command, I would like to find a variable that gives me the date in this format : YYYYMM I found there is %%$DATE variable but it gives YYYYMMDD Thanks for you help
Guillaume C
  • 11
  • 1
  • 4
1
vote
2 answers

How to fail a Control M job when running a python function

I have a Control-M job that calls a python script. The python script contains a function that returns True or False. Is it possible to make the job to fail when the function returns False? I have to use a shell scrip for this? If yes how should i…
FlorentinaP
  • 83
  • 3
  • 12
1
vote
1 answer

How to finish a .bat file and abend a control-m job if an error was found?

I'm trying to robocopy some files between servers through control-m job and I want to abend this job if any file was copied. I've tried use GOTO Quit and exit /b but seems that didn't work. robocopy "C:\Temp\enviar" "C:\Temp\enviado" @ECHO OFF IF…
Danilo Fernandes
  • 39
  • 1
  • 1
  • 2
1
vote
3 answers

how to merge rows ina csv file if if the first column is same in bash

I have written a program to find the open ports of a given IP. since the print function is in a loop my output format is like this: IP1,22 IP1,23 IP1,24 IP2,25 IP2,26 IP3,27 IP3,30 IP3,45 How do I get it in this…
Anuj Kulkarni
  • 137
  • 10
1
vote
4 answers

How to wrap one column of data(text) into 8 columns and can be dropped in excel with 8 columns style?

I have a long column of text data, which likes this: apple 162 30.45% newyork red 2018-12-10 22:48 3.23 Nop12345 pear 20 14.56% washington green 2018-12-09 10:30 4.24 Nok45367 I want it tab delimited as the following and it can be dropped in…
james
  • 81
  • 7
1
vote
0 answers

Control-M GPG: mdc_packet with invalid encoding, decryption failed

I am using Control-M AFT for decryption. The encrypted source file is pulled from Mainframe and while decrypting the file using GnuPG, it fails with below error gpg: mdc_packet with invalid encoding gpg: decryption failed: Invalid packet When trying…
shilpa v
  • 21
  • 2
1
vote
1 answer

Design of JSR352 batch job: Is several steps a better design than one large batchlet?

My JSR352 batch job needs to read from a database, and then depending on the result flows to one of two pathways, each of which involves some more if/else scenarios. I wonder what the pros and cons between writing a single step with a large…
Treefish Zhang
  • 1,131
  • 1
  • 15
  • 27
1
vote
1 answer

Control-M Execute SSIS package via batch file, capture ssis Error in calling batch file output

We have lots of SSIS packages that run via .bat(batch) files from Control-M. The issue we have is that if the SSIS package fails, the batch file ( executed via Control-M Job) never displays the the real SSIS error message, the production support…
nlulla
  • 11
  • 3
1
vote
1 answer

Control-M - Raise a shout if any of the jobs inside a folder fails

I need to notify an email distribution list if one or more jobs inside a folder is failed. I don't need any details about which job failed, but only a one-liner notification. We have configured email shouts in our Control-M jobs configuration at a…
Pramod Karandikar
  • 5,289
  • 7
  • 43
  • 68
1
2
3
14 15