Category Archives: Mainframe

TSO/ISPF

Introduction of TSO/ISPF

Imagine the confidence and speed which you get, if you master TSO Mainframe Tutorial and ISPF Mainframe Tutorial.

This Tutorial is in-depth and precise TSO/ISPF tutorial on IBM Mainframe.

We will also cover MVS TSO tutorial here.

  • TSO Stands for Time Sharing Option.
  • ISPF Stands for Interactive Search and Display Facility.

What is TSO?

TSO is the short form of Time Sharing Option in which multiple users can access the MVS (Multiple Virtual Storage) concurrently and to each user, it will appear that he or she is the only user in the system.

Each user in the system has an Address Space and a unique user id which is 8 character maximum. Each user has its own profile and logs as well.

Important Functions of TSO

TSO also provides commands to manage datasets. In Mainframe, the files are called as data sets. TSO interacts with either a line by line mode or in a full-screen menu driven mode. There are a lot of functions which TSO can handle. Let us understand all these functions –

  1. Dataset Management Functions like Deletion of data sets, Insertion of records in a dataset or Updating the records in Dataset etc. 
  2. Another important function which TSO can handle is Program Development functions 
    like Creating a program, Compiling the program, Link Editing the program, Executing the program etc.
  3. The next important function is Batch Job Functions like Submitting a job, Monitoring a job and Viewing the output of a job.

What is ISPF?

ISPF is the shorthand for Interactive Search and Display Facility and this is a software that provides the dialog management service and users can directly use the menus to perform the required operations.

The commands that can be used in TSO can be entered via ISPF Panel and this panel has Action Bars, Program Menus Point and Shoot Field, Selection Fields and, Function Keys. 

What is TSO/ISPF

In Line By Line Mode, users enter a command by typing through their keyboard while in Menu Driven Mode, users interact with the Mainframe through ISPF menus. The combination of TSO and ISPF is called TSO/ISPF.

Difference between TSO and ISPF

TSOISPF
Stands for Time Sharing OptionStands for Interactive system productivity facility
Used to create an interactive sessionYou can add, configure and manage the system using ISPF
TSO allows users to access ISPFISPF is Menu driven

What will you learn in this Tutorial?

What are TSO and ISPF
Learn about TSO/ISPF
A Relationship between TSO and ISPF
ISPF Primary options Menu
List of all options in ISPF Primary options Menu.
Important TSO/ISPF commands and Menus
Execute all TSO commands
Execute all ISPF Menus
Advanced TSO/ISPF operations
mainframe tso ispf commands
Separate tso ispf commands list pdf
Dataset Management functions around a dataset
Learn how to create a dataset
Know how to insert records in a dataset
And also find how to update records a dataset
Program Development Functions
Compile a Program
Link Edit a program
Execute a Program
Batch Job functions
Submit a job
View the output of Job
SDSF Command
SDSF operations
SPOOL operations

Audience

  • Total Beginners – who want to learn Mainframe from Scratch.
  • To Learn Mainframe, TSO/ISPF is the first step.
  • Mainframe Programmers with some knowledge on Mainframe must go through this tutorial to increase their knowledge.
  • Anyone who wants to start their career on Mainframe

COBOL

Introduction of COBOL​

  • COBOL stands for Common Business Oriented Language.
  • It is started in 1959 by CODASYL committee (Conference on Data Systems Language).
  • COBOL programs appear like an ENGLISH language.
  • COBOL can handle a huge volume of data.
  • ANSI (American National Standards Institute) worked further on improving this and major development took place in improvement in the year 1965 and 1974.
  • The improved version of COBOL was introduced in 1985, with new features.

Example of COBOL Program

IDENTIFICATION DIVISION.
PROGRAM-ID. HELLOWRD.

PROCEDURE DIVISION.
DISPLAY “SIMPLE HELLO WORLD”.
STOP RUN.

Output

SIMPLE HELLO WORLD

Where, How and Why we use COBOL

  • In Mainframe COBOL is one of the most important programming languages
  • COBOL is a programming language and we use it in multiple industries like Retail, Healthcare, Insurance, Banking, Share Market, Finance and much more.
  • And it is like the English language so it is self-documenting
  • We can use 30years older COBOL code till now and run without any changes in modern Mainframe server.
  • COBOL is a procedural language and works well in legacy applications.
  • Lots of COBOL programmers are retired and this is a great opportunity for a fresher to learn COBOL to land a dream job.
  • Most of the fortune 500 companies use Mainframe and COBOL is the most preferred programming language is always a ‘MUST TO HAVE’ skills for a Mainframe Developer.

Target audience​

  • This tutorial is for anyone, be in a student, a software engineer or anyone who is serious towards mastering the COBOL programming on Mainframe.
  • If you have prior knowledge on any topic, then you can skip that topic which you are already familiar with based on your requirement.
  • Most of the Mainframe Developers face a problem of low-quality content lying on the Internet and this tutorial will certainly help them.

Prerequisite and Requirements​

  • If you have a mainframe id, it is an advantage to learn COBOL but it is not mandatory.
  • You can practice COBOL using OPEN COBOL IDE as well.
  • We don’t need any previous coding language to learn COBOL.
  • If you know basic TSO/ISPF and JCL, it will always help you to master COBOL programming fastly. Don’t worry, we have added TSO and JCL tutorial as well in our website, you can go through them.

What will you learn​

  • This COBOL tutorial starts from basics like Introduction of COBOL, Structure of COBOL and covers everything in detail.
  • Our COBOL tutorial contains a lot of examples and Coding.
  • This tutorial tries to show all the examples based on a real-world scenario.
  • The programs explained in this tutorial is compiled and ran without any errors.
  • The Quality and Quantity of the tutorial are great. The contents of this tutorial are explained by expert Mainframe Developers.

JCL

Introduction of JCL

  • JCL stands for Job Control Language.
  • A Scripting language is used to communicate with the MVS operating system.
  • Use JCL to run jobs on MVS operating systems.
  • We can use JCL to perform a set of a task in steps or sequence
  • Divided into various types of statements and parameters.
  • A COBOL program will run through JCL.
  • JCL provides all the resource and information such as the file names, a location of the file, associated file name, compiled module location, statements, parameters and much more.
  • JCL will run in a Batch mode we will cover this topic as we progress further.

Example of a JCL

//CREATEPS JOB (345),’TUTORIALBRAIN,CLASS=A,MSGCLASS=A,MSGLEVEL=(1,1),
// NOTIFY=&SYSUID
//************************************************************
//* ALLOCATE PS DATA SET USING IEFBR14 UTILITY
//************************************************************
//STEP10 EXEC PGM=IEFBR14
//SYSPRINT DD SYSOUT=*
//SYSOUT DD SYSOUT=*
//SYSDUMP DD SYSOUT=*
//DD1 DD DSN=MATEKS.TEST.PS,
//DISP=(NEW,CATLG,DELETE),
//SPACE=(TRK,(1,1),RLSE),
//UNIT=SYSDA,
//DCB=(DSORG=PS,RECFM=FB,LRECL=80,BLKSIZE=800)
//*

We can use JCL to create a new PS file

Where, How and Why we use JCL

  • JCL is the most important Scripting language used to run COBOL on Mainframe.
  • JCL is very easy scripting language and it provides all the options to execute a COBOL program.
  • There are multiple utilities which help in executing tasks in an easier and better way.
  • All these utilities will be shown in detail in this tutorial
  • It is easy to tweak changes to a JCL and hence the learning curve in JCL is easy.
  • JCL runs in Batch mode. A Batch mode is a mode where the user or system submits a job(series of task) through a JCL and the JCL runs in Background allowing the user to perform any other task while the JCL is running. Hence, JCL is a widely used scripting language for COBOL because it enables multitasking in Mainframe through Batch processing.

Target audience​

  • This tutorial is for anyone, be in a student, a software Engineer or anyone who is serious towards mastering the JCL scripting language in Mainframe.
  • If you have prior knowledge on COBOL, then it will help you to understand JCL better but this is not important and you can still learn JCL easily without any prior understanding of any programming language.
  • Most of the Mainframe Developers face a problem of low-quality content on JCL lying on the Internet and this JCL tutorial will certainly help them.

Prerequisite and Requirements​

  • If you have a mainframe id, it is an advantage to learn JCL but it is not mandatory.
  • No Previous programming language in any other language is required to learn JCL if you have experience with COBOL, it is advantageous.
  • If you know basic TSO/ISPF, it will always help you to master JCL easily. Don’t worry, we have added a TSO/ISPF tutorial as well in our website, you can go through them.

What will you learn

  • This JCL tutorial covers almost everything starting from Introduction, structure, syntax, all statements, parameters, procedures, GDG’s, Utilities and much more.
  • In this tutorial, you will learn each topic with a lot of examples to make learning easier for students.
  • We are continuously adding and improving the content of this tutorial.
  • Expert Mainframe developers are monitoring this site to provide quality content.