Unix System Services
A Unix shell inside the mainframe, with folders and files like Linux.
Also written USS, z/OS UNIX, OMVS
Why it matters. Java, web services and many modern tools on the mainframe live on the Unix side.
Syntax
OMVS pwd | ls [-l] | cd path | cat file | mkdir dir | exit
- pwd
- Show the folder you are in.
- ls [-l]
- List what is in a folder. -l gives the long form.
- cd path
- Move to another folder.
- cat file
- Show a file.
- mkdir dir
- Make a folder.
- exit
- Leave the shell and go back to TSO.
Try it OMVS
- 1
Open the Unix shell.
OMVS - 2
Find out which folder you're in.
$ pwd - 3
List what's in it.
$ ls
Remember
- Unix commands are lower case.
- Home folders are usually under /u.
- Type exit to return to TSO.
The usual mistake
READY ls
TSO doesn't know Unix commands. Open the shell first.
OMVS, then ls
On real z/OS
The OMVS command is real, but the MF/OS shell is a small simulator. It handles common commands (ls, cd, pwd, cat, mkdir, cp, mv, rm, grep, chmod and a few more) and not job control, vi, sed or awk. The start-up banner is MF/OS's own, and a real prompt depends on /etc/profile and often shows your user ID and folder.
Where can I practise Unix System Services?
Right here, at ZedBank. You take a junior job at a simulated bank and use Unix System Services in real work, with Zed beside you. There's nothing to install.
Start at ZedBankRelated
- z/OSThe main operating system that runs on IBM mainframes, in the same way Windows or Linux runs on a laptop or server.
- DatasetWhat a mainframe calls a file: a named collection of records with a defined structure, rather than a loose stream of bytes.
- TSOTime Sharing Option: the interactive login environment on z/OS, where you get a command prompt and a session of your own.
- File transferMoving data between the mainframe and other systems, where character encoding and record structure both need attention.