Home About Courses Schedule Services Webinars Contact Search

TSO/E CLIST Programming


Duration: 5 days

Method: Instructor led, Hands-on workshops

Price: $2475.00

Course Code: MF2001


Programmer, technical support personnel, and other individuals that need to write CLISTs.


This course will introduce students to the skills necessary to code CLISTs in a z/OS Environment.

A series of written and lab exercises will be used to reinforce the classroom education.


Upon successful completion of this course, the student will be able to:

  • Create and allocate CLIST libraries
  • Invoke CLISTs and pass parameters to them
  • Use CLIST instructions to perform terminal I/O
  • Perform arithmetic calculations and character operations
  • Use such CLIST programming constructs as: F statements, SELECT WHEN constructs, DO WHILE and iterative DO loop sequences
  • Debug CLISTs via CONTROL statements
  • Write user developed CLIST subprocedures
  • Issue TSO commands from a CLIST
  • Trap TSO command output and process the output in a CLIST
  • Use ISPF services
  • Read and write sequential datasets
  • Create CLIST based ISPF edit macros
  • Execute CLISTs in batch jobs


Introduction to z/OS, or equivalent experience. TSO/ISPF, or equivalent experience. Previous experience in designing and coding application programs will enhance the results of this course.


  • I.What are CLISTs?
    • Definition
    • Dataset Organization
    • Methods of Execution
  • II.CLIST Language Syntax
    • Statement Types
    • Statement Syntax
    • Symbolic Variables
    • SET Statement
    • WRITE / WRITENR Statements
    • READ Statement
    • PROC Statement
    • IF THEN ELSE Statement
    • SELECT WHEN Sequence
    • Iterative DO Sequence
    • DO WHILE Sequence
    • DO UNTIL Sequence
    • GOTO Statement
    • EXIT
  • III.CLIST Control Variables and Functions
    • Control Variables
    • Character Functions
    • Data Functions
  • IV.Debugging CLIST Execs
    • CONTROL Statement
    • ERROR Routines
  • V.User Defined Subprocedures
    • Defining and Using Subroutines
    • Nesting CLISTs
    • External Routines
  • VI.TSO/E Processing in CLISTS
    • Using TSO Commands
    • Control Statement Options
    • SYSDSN Function
    • LISTDSI Function
    • OUTTRAP Function
  • VII.Using ISPF Services in CLISTS
    • BROWSE / VIEW Services
    • EDIT Service
    • LIBDEF Service
    • DISPLAY Service
    • SETMSG Service
    • SUBCOM Command
  • VIII.Parsing Data
    • &SYSDVAL
    • READDVAL Statement
  • IX.File I/O
    • Executing Programs in Execs
      • ALLOC Command
      • CALL Command
      • FREE Command
    • CLIST Statements
      • OPENFILE Statement
      • GETFILE Statement
      • PUTFILE Statement
      • CLOSFILE Statement
    • Advanced CLIST Topics
    • Submitting Batch Jobs
    • Processing Job Output in CLISTs
    • Using the TSO EDIT Command
    • Mixed Case Processing
    • Executing a CLIST in a Batch Job
  • X.ISPF Edit Macros
    • Overview
    • Edit Macro Commands
    • Using Edit Primary Commands
    • Using Edit Line Commands
    • Using Edit Macro Keyphrases
    • Using Edit Labels