Mainframe Path Start learning free
Applied9 min readLesson 3 of 5

IBM Z Workload Scheduler, IWS and DWC

IBM's scheduler family has two members. IBM Z Workload Scheduler — still widely called TWSz or OPC — schedules mainframe batch. IBM Workload Scheduler (IWS) schedules distributed systems. The Dynamic Workload Console (DWC) is the web interface for both.

Names you will hear

NameMeans
OPC, TWS for z/OS, TWSz, IZWSIBM Z Workload Scheduler, the mainframe scheduler
TWS, Maestro, IWSIBM Workload Scheduler for distributed systems
DWCDynamic Workload Console, the browser interface for both

TWSz: how it is organised

Long-term plan and current plan

The long-term plan (LTP) works out which applications run on which days, often weeks ahead. Each day a batch job extends the current plan (CP), the live list of operations for the next period. Operators work in the current plan.

StatusMeaning
WWaiting for predecessors or resources
AArriving — waiting for its start time
RReady to run
SStarted
CComplete
EEnded in error

IWS on distributed systems

IWS uses job streams containing jobs. A master domain manager builds the daily production plan, called the Symphony file, with the JnextPlan process and sends it to fault-tolerant agents, which can keep running even if they lose contact with the master. The conman command line controls the plan.

conman — IWS command line
$ conman "sj PAYHOST#PAYROLL.@"     # show jobs in a job stream
$ conman "ss @#@"                     # show all job streams
$ conman "rerun PAYHOST#PAYROLL.LOADTXN"

The Dynamic Workload Console

DWC gives one browser view of both TWSz and IWS: monitor jobs, browse output, rerun from a failed step, and edit definitions. Many sites use it instead of the older ISPF dialogs.

Common mistakes

Editing the database and expecting tonight to change

Changes to application descriptions usually reach the current plan only when the plan is next extended. For tonight, modify the current plan as well, through change control.

Restarting without the restart step

TWSz supports restart and cleanup from a chosen step. Restarting from the top may repeat work or fail on datasets that already exist.

Forgetting the tracker

If a tracker is down, jobs may run but their completion is not reported, so successors wait. Check the tracker before blaming the job.

What you will see at work

Key terms

Check your understanding.
Take this lesson's quiz and save your progress. Free.

Take the lesson quiz
← Control-MAutoSys, Stonebranch and other schedulers →