An easy way to execute a series of Session Manager or TSO/E commands is by using command procedures (CLISTs). A CLIST is an executable sequence of TSO/E and/or Session Manager commands, subcommands, or command procedure statements. You can use any TSO/E or Session Manager command in CLISTs. The same rules for entering Session Manager commands at your terminal apply when using a CLIST. (See "Entering Session Manager Commands" in topic 4.2.2.7.)
This section describes several examples of CLISTs and how they can be used to modify the default environment. The CLIST in the first example redefines a program function (PF) key using Session Manager commands. The remaining examples show CLISTs that split your display screen horizontally and vertically. The split screen CLISTs are located in SYS1.ADFMAC1 so you do not have to type them in at your terminal. For a complete description of how to create, edit, invoke, and execute a CLIST, refer to OS/390 TSO/E CLISTs.
Note: When you issue a WRITENR in a CLIST, the cursor is no longer positioned at the end of the text written to the screen. Instead, the cursor returns to the permanent cursor position to allow you to enter data.
Subtopics:
© Copyright IBM Corp. 1988, 2000
Return to library: [ OS/390 | TPF | VM | VSE | IBM Hardware | S/390 Redbooks | RS/6000 SP ]
Glossary - IBM Dictionary of Computing
How to: [ Order publications | Contact OS/390 ]