Back to Courses

CLIST – Basics

Duration

3 hours

Overview

Description

The CLIST Basics course introduces the Command LIST (CLIST) interpreted language for the z/OS environment. It examines the commands and statements used by the CLIST language. It also shows how it can be used in conjunction with TSO commands and facilities to assist the general operations of z/OS.

Audience

Operations, system programmers, and application programming personnel requiring an introduction to CLISTs.

Prerequisites

Knowledge of the z/OS operating system and TSO/ISPF

Objectives

After completing this course, the student will be able to:

  • Describe what CLIST is and how it is used in a z/OS environment
  • Describe how to create and execute a CLIST
  • Use PROC, WRITE, READ, SET statements to code basic CLISTs
  • Code conditional and selection statements using IF-THEN-ELSE, SELECT, and GOTO statements
  • Use DO-WHILE-END and DO-UNTIL-END statements to code loops

Course Content

Introduction to CLIST and Coding Fundamentals

What is CLIST?
CLIST verses REXX
How to Create a CLIST
Invoking CLISTs
CLIST Syntax
CLIST Statements, Delimiters, and Continuations
CLIST Formatting, Comments, and Labels
Using TSO/E Commands, and JCL in CLISTs
Using Operators and Expressions
Keyword Names and Symbolic Variables

Coding Basic CLISTs

PROC, WRITE, READ and SET Statements
Coding IF-THEN-ELSE Statements
The SELECT Statement
DO-Sequences and Loops
Nesting Loops
GOTO Statement

CLIST – Basics Mastery Test