TSO CLIST Programming
Duration: 3 days |
Participants: Application programmers and developers, technical support personnel, and users. |
Objectives:
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. |
Overview:
- 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. |
Topic Outline:
- Creating a CLIST CLIST libraries Attributes LISTA command Record formats - Executing a CLIST EXEC Using PF keys CLIST libraries (FB and VB) SYSPROC concatenation Implicit method (% member) - Using TSO Commands in CLISTs ALLOC, ATTRIB, CALL, EXEC, LISTA, FREE, LISTC, DELETE Continuation rules Comments as documentation - Programmable CLISTs Symbolic variables Screen Input and Output (I/O) Clearing the screen SET Arithmetic operations Coding rules Expressions - Submitting Background Jobs from CLISTs SUBMIT datasets SUBMIT * - PROC Statements Positional parameters Keyboard parameters with default values Keyboard parameters without default values - Debugging Techniques CONTROL LIST SYMLIST CONLIST - CLIST Programming CONTROL END Conditional processing Iteration: DO WHILE, DO UNTIL, GO TO CONTROL: NOFLUSH, MAIN NOMSG, PROMPT, CAPS String functions and control variables Validation routines Interrupt routines ERROR ATTN Exiting from interrupt routines - File I/O Processing CONTROL options ERROR DO, ATTN DO ALLOC, FREE 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 &SYSOUTTRAP Arrays and looping &SYSOUTLINE &SUBSTR Uses - Monitoring Datasets LISTDSI Using LISTDSI with trapped LISTC output - Multi-Module (Nested) CLIST Programs Input from the execute line (PROC) Control options GLOBAL, NGLOBAL Exiting from subprograms &LASTCC setting Subprograms in separate members Subprograms in the same member - Compile, Link and Go CLISTs - Advanced Topics TSO EDIT command Lowercase and uppercase data Additional functions Introduction to Dialog Manager |
REXX List TSO List Site Map Home |