TSO CLIST Programming
|Duration: 3 days|
|Participants: Application programmers and developers, technical support personnel, and users.|
Upon successful completion of this course you will be able to:
- Design, code, enter, and execute structured CLIST programs to accomplish commonly encountered tasks such as running programs in foreground, processing utility tasks, customizing JCL, submitting jobs to background, invoking other applications, etc.
- Incorporate TSO commands into CLIST programs.
- Code nested CLIST programs.
- Perform file I/O processing using Openfile, Getfile, Putfile, Closfile, and ERROR.
- Use built-in functions to validate input data, manage string data, and control processing.
- Build business applications that involve trapping screen output, producing reports, and managing data.
- Describe Dialog Manager and some basic ways that it can interfaces with a CLIST.
- This class teaches participants to write CLIST programs that perform utility tasks, submit customized batch jobs, launch online applications, create short, online reports, and other typical business uses.
- Attendees need not be programmers, but we discourage including both non-programmers and programmers in the same class, because of their different needs and significantly different backgrounds. For a class of non-programmers, we present this course at a different pace and omit complex program logic topics. For non-programmers, the focus is more on accessing system data and creating quick and dirty reports. This class or our REXX class is required before attending our Dialog Manager class.
- Students are encouraged to follow this class with a Dialog Manager class to create full-screen I/O, have more robust variable management, create ISPF tables, and perform various library services.
|Prerequisites: Experience using TSO/ISPF is required. An understanding of programming concepts is strongly recommended.|
|Format: Lecture and hands-on computer workshops. For a class of students without programming experience, we present this course at a different pace and omit complex program logic topics. We discourage including non-programmers and programmers in the same class. Students are encouraged to follow this class with our Dialog Manager class, to create full-screen I/O, better variable management, etc.|
- Creating a CLIST
- Executing a CLIST
Using PF keys
CLIST libraries (FB and VB)
Implicit method (% member)
- Using TSO Commands in CLISTs
ALLOC, ATTRIB, CALL, EXEC, LISTA, FREE, LISTC, DELETE
Comments as documentation
- Programmable CLISTs
Screen Input and Output (I/O)
Clearing the screen
- Submitting Background Jobs from CLISTs
- PROC Statements
Keyboard parameters with default values
Keyboard parameters without default values
- Debugging Techniques
- CLIST Programming
Iteration: DO WHILE, DO UNTIL, GO TO
CONTROL: NOFLUSH, MAIN NOMSG, PROMPT, CAPS
String functions and control variables
Exiting from interrupt routines
- File I/O Processing
ERROR DO, ATTN DO
OPENFILE, GETFILE, PUTFILE, CLOSFILE
Creating and writing to PS datasets
Reading PS datasets and members of partitioned datasets
String manipulation techniques
Releasing unused space
Trapping and processing LISTC output
Determining generation dataset absolute generation numbers
- Trapping Output
Arrays and looping
- Monitoring Datasets
Using LISTDSI with trapped LISTC output
- Multi-Module (Nested) CLIST Programs
Input from the execute line (PROC)
Exiting from subprograms
Subprograms in separate members
Subprograms in the same member
- Compile, Link and Go CLISTs
- Advanced Topics
TSO EDIT command
Lowercase and uppercase data
Introduction to Dialog Manager
REXX List TSO List Licensing List Site Map Home