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
0 answers

Control m , scheduler exception without using calendar

I am currently trying to schedule multiple jobs from Control m v 8.0 which all have different schedules but have only one item in common , they all should not be running for a single day lets suppose 25th December . I have looked for multiple…
Faizan Tanveer
  • 335
  • 6
  • 17
1
vote
1 answer

Control-M using Automation-API {RESTapi} with PostMan

I am using Control-M Automation API, I am able to authenticate myself using POST Session/Login I am using response token as Authorization = Bearer + token, however from here on i am unable to run any other API such as samples or run When I use…
1
vote
0 answers

Data are not fully written to database when run Control-M Python job executing stored procedure via pyodbc

I create a Control-M job to execute a python script. The script is for executing a stored procedure on SQL Server. The stored procedure will delete some records from table A and then open a cursor for table B, then insert records into table A based…
1
vote
2 answers

Contro-M z/OS: Save "Why screen" for each job waiting execution in Control-M

In Control-M, is there a way to get the job names(s) waiting to execute and the reasons for waiting (Time, conditions, resources)? This info is in the "Why screen". I've only managed to get the AJF job status but I'd like to go further.
csbl
  • 265
  • 1
  • 6
  • 19
1
vote
2 answers

Control M job shout/send email on a condition

I am new to Control M. I need to create a job. My job should call a shell script where I need to check whether a file has been received or not. If not, I need to send an email to a list and if so,I need to retry the job after some time. If the file…
Megan
  • 876
  • 2
  • 10
  • 20
1
vote
1 answer

exec bash command in .profile file not letting Control-M job to run

I have an issue where my Control-M job is not able to execute anything on the unix box. after investigation found out that .profile file in the unix server is the culprit. content of the .profile file is exec bash I tried renaming the file and run…
Sachin Khandelwal
  • 123
  • 1
  • 2
  • 10
1
vote
1 answer

Using Control-M to run a PowerShell Script to Copy Files from Beyond Compare

I currently have a PowerShell script that calls Beyond Compare v3 to copy files from a secure SFTP site over to my network. Whenever I run the PowerShell script in the PS GUI and PS Console, it works perfectly fine. It is able to connect to the SFTP…
danglesauce19
  • 133
  • 1
  • 4
  • 14
1
vote
1 answer

Upload batch Job XML in Control-M enterprise manager automatically through linux script

Please suggest how to Upload batch Job XML in Control-M enterprise manager automatically through Linux script. Everyday I have to upload this XML through Control-M Desktop and then it gets reflected in Control-M enterprise manager for the jobs to…
1
vote
1 answer

ControlM job calling unix script fails repeatatively

I have a controlM job which calls a shell script that takes 4 command line parameters. The command is below: sh /appl/Script/Script1.sh ABC /appl/Landing SV_SID_NormalisedEvent_* Y The 3rd parameter (SV_SID_NormalisedEvent_*) in the command line…
Sachin
  • 11
  • 3
1
vote
3 answers

Control M job appears in Planning but not in Monitoring

I have created a Control-M job, validated it and checked in. I see it in the Planning-Home tab, but not in the Monitoring tab. Basically, I need to run this job using the "Run now" option. How do I do it?
Hello
  • 373
  • 2
  • 10
  • 21
1
vote
2 answers

Control-m JOBNAME in shell script

How can I retrieve control-m JOBNAME in unix shell (ksh) script From what I read %%JOBNAME should give me the JOBNAME but unix does not support %%JOBNAME. I tried it but not successful Also I tried using $JOBNAME but it did not work either
user2632358
  • 11
  • 1
  • 3
1
vote
2 answers

get job/workflow status out of Control M?

I am new to Control M and would like to find out if status of jobs/workflows can be queried programmatically. I am trying to see if I can get : job schedule, what jobs are waiting to be run, status of each job, waiting, complete, in process..etc Can…
Qajussi
  • 133
  • 1
  • 3
  • 12
1
vote
3 answers

Tables in control-m, are they unique

Table names in Control-m jobs which is mentioned under one Control-m instance, do they need to have unique names?
Hasitha
  • 95
  • 1
  • 2
  • 8
1
vote
2 answers

Formatting Control-M auto edit variables

Is it possible to format "%%TIME" auto edit variable to "HH:MM:SS". Without any formatting it plainly output as "HHMMSS". Any help is appreciated.... Thanks in advance...
Hasitha
  • 95
  • 1
  • 2
  • 8
1
vote
1 answer

Powershell Tracing and Control-M

I seem to have run into a problem/bug when trying to capture tracing output when running a Powershell script from Control-M. The output file shows the headers and footers of the start-trace and stop-trace commands, but it does not show anything else…
Allen
  • 11
  • 2
1 2
3
14 15