Mainframe Path Start learning free
Beginner7 min readLesson 1 of 4

What z/OS does for you

z/OS is the operating system. Like any operating system it decides who runs, who gets memory, and who is allowed to touch what. The differences from Windows or Linux are in the priorities: isolation is stronger, resource control is finer, and the system expects to run for years without restarting.

Its five jobs

JobWhat it means in practice
IsolationEach unit of work runs in its own address space and cannot see another's memory
DispatchingDeciding which piece of work gets a processor next, guided by business-level goals
StorageManaging real and virtual memory, and paging when demand exceeds supply
I/ODriving disk, tape and network through channel hardware
SecurityEvery access to a dataset or resource is checked by an external manager such as RACF

The idea that matters most: the address space

An address space is z/OS's unit of isolation. Every running thing — a batch job, a TSO user, a CICS region, DB2 itself — gets one. Each has its own view of virtual memory starting at zero, and no address space can reach into another's private storage by accident. This is why one runaway program cannot corrupt the rest of the system, and why a CICS region failing does not take DB2 with it.

One z/OS system, many address spaces
System
MASTERJES2RACFWLMConsole services
Subsystems
CICSPRD1CICSPRD2DB2PMSTRMQPROD
Users
TSO: VSAHA1TSO: JBLOGGS
Batch
PAYRUN01GLPOST20BKUPDLY

Work is classified, not just queued

z/OS does not simply run things first-come-first-served. The Workload Manager (WLM) is given business goals — 'this CICS transaction should complete in 0.3 seconds 90% of the time', 'this batch class is discretionary' — and continuously shifts processor, memory and I/O priority to meet them. You rarely configure WLM as a beginner, but you will hear its vocabulary constantly: *service class*, *goal*, *importance*, *velocity*.

Common mistakes

Thinking of an address space as a process you can kill freely

Cancelling a CICS region or a DB2 address space has enormous blast radius. Cancels in production follow a documented procedure and usually an approval.

Assuming memory is scarce

Modern systems have very large real memory. Paging problems today usually mean something is misbehaving, not that the system is undersized.

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
How a job becomes running work: JES2 →