codegurukool.com · Free coding tutorials & online compiler

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)

  1. Open the IBM Z Xplore page at ibm.com and create a free IBMid.
  2. Sign in and start the learning track to receive access to a real z/OS system.
  3. Note the user ID and password you are given.
  4. Install Visual Studio Code from code.visualstudio.com and add the Zowe Explorer extension.
  5. 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-

  1. Download the TK4- package from wotho.ethz.ch/tk4- and extract it to a folder.
  2. Install Java if the package asks for it.
  3. Windows: double-click mvs.bat. Linux and macOS: run ./mvs in a terminal.
  4. Install a 3270 terminal emulator, for example wc3270 on Windows or x3270 on Linux.
  5. Connect it to localhost on port 3270 and log on with the user shown in the TK4- guide.

Check that it works

  1. In ISPF choose option 3, then 4 to browse your datasets.
  2. Create a small JCL member and type SUBMIT on the command line.
  3. Look at the job output for a return code of 0.

If something goes wrong

Example code

/* REXX */
SAY "Mainframe is ready"

Run this code in the online editor

← Mainframe introductionMainframe architecture and z/OS →