WHAT IS CONTROL-M (CTL-M)?
•Control-M is a component member of the INCONTROL family of products by BMC Software
•CTL-M is the automated production control and scheduling system
•CTL-M manages and automates the setup, scheduling and execution of jobs in the OS/390 (MVS) environment
COMPONENTS OF CONTROL-M
•Job Scheduling Definitions
•Active Jobs File (AJF)
•CONTROL-M Monitor
Control-MControl-M
2
CTL-M PRIMARY OPTIONS MENU
• Opt. 2 - Scheduling Definition Facility
• Opt. 3 - Active Environment Screen
• Opt. 4 - Conditions / Resources Map
• Opt. 5 - Log Screen
• Opt. 8 - Calendar Facility
• Opt. C - CMEM Rule Definition Facility
Control-MControl-M
Control M command list
H - Hold jobD - DeleteF - FreeL - Display a jobs control-m logZ - ZOOM (and DOC to see rundoc)O - Force OK completeS - STATISTICS (RUNTIMES)R - Restart (always use options Y and ? to be able to select the step
before starting)C - Confirm a job waiting confirmation.? then A to add a req (post)V - versioning and then S will show joblogs of current day runs.J - Display and edit the JCL for a job.A - Add Condition.
CONTROL-MCONTROL-M
COMPONENT 1 - JOB SCHEDULING DEFINITIONS
• Specifies criteria that identify decisions to be made and actions to be taken regarding the handling of a particular job
• General Parameters
• Basic Scheduling Parameters
• Runtime Scheduling Parameters
• Post-Processing Parameters
Control-MControl-M
Job Scheduling Definitions: GENERAL PARAMETERS
• Information about the job (identifies the library and member where the JCL is stored)
Control-MControl-M
6
Job Scheduling Definitions: BASIC SCHEDULING PARAMETERS
• Criteria according to which CONTROL-M schedules the job
Control-MControl-M
7
Job Scheduling Definitions: RUNTIME SCHEDULING PARAMETERS
• Runtime requirements that must be satisfied before CONTROL-M submits the job
Control-MControl-M
8
Job Scheduling Definitions: POST-PROCESSING PARAMETERS
• Actions CONTROL-M performs after the job ends, depending upon the outcome of job execution (for example, one set of actions if the job ends OK, another set of actions if an abend occurs or job not running, running too long, etc).
Control-MControl-M
9
COMPONENT 2 - ACTIVE JOBS FILE (AJF)
• If a job is scheduled for a particular day, a copy of its job scheduling definition is placed in this file
– How does a job get to the AJF?• Via daily load job• Manually forced• Forced by CMEM (DSNEVENT, JOBARRIVAL, JOBEND)• Forced by another job
• Only jobs in the AJF are candidates for submission by the CTL-M monitor
Control-MControl-M
10
COMPONENT 3 - CONTROL-M MONITOR
• Checks the runtime requirements of each job in the AJF
• Monitors available resources
• Determines that the conditions and resources required by a job are available
• If conditions and resources are available, the monitor allocates the resources and submits the job
• Monitors the execution of the job
• Implements post-processing decisions based on instructions in the job scheduling definition and the results of the job execution
• Operates continually as it evaluates the production environment and implements decisions
Control-MControl-M
11
A LOOK AT CONTROL-M
•New Day Processing
– 6 am daily
– Clean up of old jobs• Jobs that have executed successfully• Jobs that were deleted• Jobs whose MAXWAIT days have been exceeded
– MAXWAIT – number of extra days the job can wait in the AJF for submission– Ordering of new jobs
• Order / Original Date (ODAT) changes
Control-MControl-M
Control-MControl-M
R Rerun , O Force ok and the rest of the options.Enter an R beside the job that has abended and the screen should come up with the Following.
RESTARTING A JOB
Control-MControl-M
Please verify that you are restarting the job that has abended. Now you can enter a Y to confirm that you want to restart the job.
RESTARTING A JOB
Control-MControl-M
FORCE COMPLETING A JOB
You’ll have to reply Y and then hit enter to confirm that you want to force complete
PROCESS DIAGRAMSPROCESS DIAGRAMS
Job Execution
Successful Completion
Abend Job Documentation / JCL
Application Problem
Call the programmer
Tkt for documentation
Issue ResolvedBy Programmer
Yes
No
Follow up again with the programmer till the problem is resolved / Turned over to Counter part at US for Morning problem fixation
Action taken on the job as per the documentation – Restart/ Resubmit/ Force complete/ Cancel
Normal Run
Tkt for documentation
Follow the programmer instructions
Job Documentation / Action taken is not adequate to resolve the problem
Start
End