(Choose a section and click go!)

TSO/ISPF Useful Commands: Entering and Running Your Program

Editing Files

Copying and Moving Text in the Editor

A sample screen of moving follows the instruction.

<

 Command ===>                                                  Scroll ===> CSR
 000078            PERFORM OPEN-FILE-ROUTINE.
 mm0079
 000080            PERFORM READ-STUDENT-FILE.
 000081
 000082            PERFORM PROCESS-STUDENTS
 000083                  UNTIL END-OF-STUDENTS.
 mm0084
 000085            PERFORM CLOSE-FILE-ROUTINE.
 000086
 000087            STOP RUN.
 a00088
 000089
Example: Moving lines 79 through 84 to after line 88

IOF Commands

The IOF is where you view your output files. If you have many errors, you probably will want to
split the screen so you can see errors and code at the same time. If you split the screen use IOF in the botton half of the screen and change and re-submit your code from the top half. Below is a short description of IOF commands. A more in-depth description of looking at your errors is available. To reach the IOF, type IOF at the command = = => from anywhere in ISPF

F phrase - finds phrase. Use f = = >to find your first error when looking at your error listing.

Using 4 as an example, at the command==> prompt, type

4 - look at item number 4 of menu on your screen.

4r - release number 4 to the printer and erase it.

4c - cancel (erase) item number 4 from the menu. 1-4c cancels items 1 through 4.