Mainframe Path Start learning free
Core6 min readLesson 1 of 3

z/OS Unix in one page

z/OS contains a certified Unix. There is a hierarchical file system with directories and permissions, a shell, and the usual commands. It is not an emulator and not a separate machine — it is part of the operating system, sharing the same security manager and the same processors.

Two ways of naming things, side by side

The same system, two namespaces
MVS side
PROD.PAY.MASTERDatasets, catalogued44-char names, uppercaseAccessed by DD statement
Unix side
/u/vsaha1/pay/master.txtFiles in directoriesLong, case-sensitive namesAccessed by path

Getting to the shell

RouteHow
From TSOType OMVS at the READY prompt or from ISPF option 6
From ISPFOption 3.17 gives a file-system browser (ISHELL)
From your laptopSSH to the system, if your site enables it
From batchBPXBATCH, or the shell via a JCL step

What lives where

PathHolds
/bin, /usr/binShell commands and utilities
/etcConfiguration
/u/userid or /home/useridHome directories
/varVariable data, logs
/tmpScratch space, cleared periodically
Product directories under /usr/lppInstalled products, e.g. Java, Python, web servers

What actually runs here

Common mistakes

Assuming it is a separate machine

It shares the same security, the same processors and the same address space model. A USS process is a z/OS address space.

Expecting Linux behaviour everywhere

Most commands are the same. Character encoding, file tagging and some option flags are not.

Writing large temporary files to /tmp in production

It is shared and finite. Use a directory your application owns.

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
Working across the two worlds →