Home › Mainframe Tutorial › Mainframe installation
Mainframe installation
Full step-by-step ways to get a z/OS environment for practice.
Option 1: IBM Z Xplore (real z/OS, free for learning)
- Open the IBM Z Xplore page at
ibm.comand create a free IBMid. - Sign in and start the learning track to receive access to a real z/OS system.
- Note the user ID and password you are given.
- Install Visual Studio Code from
code.visualstudio.comand add the Zowe Explorer extension. - Create a profile in Zowe Explorer with the host name and your user ID, then browse datasets and submit jobs.
Option 2: Hercules emulator with TK4-
- Download the TK4- package from
wotho.ethz.ch/tk4-and extract it to a folder. - Install Java if the package asks for it.
- Windows: double-click
mvs.bat. Linux and macOS: run./mvsin a terminal. - Install a 3270 terminal emulator, for example wc3270 on Windows or x3270 on Linux.
- Connect it to
localhoston port3270and log on with the user shown in the TK4- guide.
Check that it works
- In ISPF choose option 3, then 4 to browse your datasets.
- Create a small JCL member and type
SUBMITon the command line. - Look at the job output for a return code of 0.
If something goes wrong
- The terminal cannot connect: check that the emulator is still running and that the port is 3270.
- You cannot log on: re-read the user ID and password; they are case sensitive in some setups.
Example code
/* REXX */
SAY "Mainframe is ready"