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
0
votes
1 answer

awk can not print an array and a position parameter at the same time

awk can not print an array and a position parameter at the same time hehe.txt —> 23402269,55 haha.txt —> 23402269,108147883084318723015500000055,1,0 -- Can not get a[$1] value awk -F"," '{if(NR==FNR){a[$1] = $2}else{if($1 in a){print a[$1]" |…
sagr
  • 31
  • 4
0
votes
1 answer

How to use DO MAIL action to send email from Control-M File Watcher -input rule file?

What is the syntax to be used to to send email from Control-M File Watcher -input rule file when the ON_FILEWATCH condition is met ?
0
votes
2 answers

How to order control m job using REXX? like Control m utility CTMAPI

I have to order few jobs in control m from different scheduling tables. this is manual task so i want to automate it using rexx. I found below in 'Order or Force under Batch, REXX or CLIST' section of 'CONTROL M USERGUIDE' EXEC CTMAPI PARM=‘ORDER…
Rahul
  • 1
  • 2
0
votes
0 answers

SQL to BTEQ scripts and automate the tasks

Hi need help with below requirement. In Teradata, I have a set of SQL scripts which have to run one after the another. Then once running of them is done, the data has to be stored in a file based on the run date.I have to automate them so the same…
Vishnu
  • 11
  • 6
0
votes
1 answer

How to run pl/sql statements in Control M for database job/task(execution type :- Embedded Query)

I have pl/sql statement something like mentioned below, which executes successfully in oracle sql developer but same when am trying to execute through control M database task (execution type :- Embedded Query) am getting error "Invalid SQL…
Mahesh
  • 198
  • 2
  • 16
0
votes
2 answers

Control-M Prerequisites - Make job dependent on server availability

I want to know if I can add pre-requisite conditions for a job based on server availability. Suppose Job J runs from job server JS, and it interacts with two other servers SERVER1 and SERVER2. I want to configure job J such that it runs only when…
vikas
  • 1,116
  • 1
  • 11
  • 12
0
votes
1 answer

How to copy files to a shared drive using batch or vbscript

I have an existing vbscript which copy files to a shared location to a remote server, copying of files only permitted if executed by a logged in user having access to the drive. We would like to automate this via control-m but we need to implement…
Yogesh
  • 67
  • 1
  • 11
0
votes
1 answer

Who can i do specific time settings on periodic calendar in controlm v8+

I want to make a complexe scheduling using a single job that have one periodic calendar depending on specific date. for example the job must be executed this way: 1st day of the mounth two time in 01:00AM and 01:00PM second day of the mounth every…
Amin KAMAL
  • 13
  • 4
0
votes
1 answer

Control-M - .exe works fine in scheduled task

I have an old executables wrote in c#. It works fine in scheduled task, but not under Control-M. When scheduled as job (job type: OS, a simple command) Unhandled Exception: System.IO.IOException: The handle is invalid. at…
user_0
  • 3,173
  • 20
  • 33
0
votes
1 answer

Control-M Calendar -- is it possible to set a job run on calendar where days are not selected

With Control-M, I need to set JobA run on normal days, JobB run on holiday. What I did: Create 2 calendars: CALENDAR_NORMAL CALENDAR_HOLIDAY JobA run on CALENDAR_NORMAL JobB run on CALENDAR_HOLIDAY Above setting works fine. But need to maintain…
Brian Mo
  • 15
  • 4
0
votes
2 answers

Control-M job Scheduling

I have one job that is scheduled using a calendar. I need to create a dummy job that should get scheduled for all other days except the day Job 1 is running. Can anybody please explain how I can achieve this in Control-M.
user8592197
  • 77
  • 10
0
votes
1 answer

Periodic Calendar value shifting after mid year

so I have defined a periodic calendar with following periods, Period A: to factor in start of every month Period B: to factor in end of every month Calendar Now I am trying to schedule the job on every days marked as period A i.e. start of every…
Mohit
  • 1,045
  • 4
  • 18
  • 45
0
votes
1 answer

Is there any possibility to integrate Control-M job execution (Automated) with UFT or any other automation tool?

Our UFT Script performs some actions on a windows application and after that we need to execute Control-M Jobs, to verify the results. We are planning to handle all this actions from Automation Script itself. Is it possible?
NithyaViji
  • 121
  • 6
0
votes
2 answers

Control-M: it is possible if first job fails to continue running

I have several jobs than will run in sequence. It is possible to create a dependency between them only for completion, but not that the prior job has to complete successfully? If a job fails this should remain red and go to the next job and continue…
FlorentinaP
  • 83
  • 3
  • 12
0
votes
1 answer

Control-M Workload Policy for Jobs waiting on Resource

If a job (Job A) is already in the Monitoring Queue waiting on a Resource that is being used by another job (Job B) and a workload policy was created to stop any new instance of Job A from running. Will the workload policy only affect the new…
C-Lo
  • 59
  • 8