codegurukool.com · Free coding tutorials & online compiler

Home › Mainframe Tutorial › Mainframe introduction

Mainframe introduction

What a mainframe is and why it still matters.

A mainframe is a large, reliable computer that handles millions of transactions every day. Banks, airlines, insurers and governments run on it. Its operating system is z/OS, and much of its work runs as batch jobs written in JCL.

Example code

//HELLO JOB (ACCT),'HELLO',CLASS=A,MSGCLASS=X
//STEP1    EXEC PGM=IEBGENER
//SYSPRINT DD SYSOUT=*
//SYSIN    DD DUMMY
//SYSUT2   DD SYSOUT=*
//SYSUT1   DD *
HELLO FROM THE MAINFRAME
/*

Run this code in the online editor

← All commandsMainframe installation →