In the editor and IOF, typing CSR and hitting enter in the top-right corner of the screen, to the right of Scroll ===>, makes F7 and F8 advances based on where the cursor is, rather than a whole screen at a time.
Copying and Moving Text in the Editor
A sample screen of moving follows the instruction.
- Step 1: Marking Text
- a.Move to the first line you want to mark.
- b.Type over the line numbers on the left side of the screen:
- c.Move to the last line you want to mark and type the same code again, over the line numbers.
- Step 2:Inserting Text
- a.Move to the line where you want the text to be copied or moved, and type:
- b.Press enter.
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.