ISPF Editor
Part Two - Challenge #03


You will learn how to use ISPF Editor

Familiarity with ISPF Editor is needed to complete challenge #03.

ISPF Editor is used frequently throughout the contest to complete challenges.

Useful Information About ISPF Editor and help you complete the challenge

A short video is available to explain ISPF.

Click on the following URL, then select Lecture 8 video which is less than 8 minutes.
z/OS Introduction

Note: If "Start Chat" appears, decline.
Chat is for clients considering a purchase of additional IBM Z technology features.

While in ISPF Edit session, enter help or press function key 1, F1, to display online ISPF Editor tutorial help.

The contest instruction web site has an ISPF Editor Command Summary under the References drop down.
ISPF Editor Command Summary


To complete challenge #03

Lecture 8 video explains the basics of ISPF Editor necessary to complete the following challenge.

NOTE: During the challenge the following ISPF Edit Entry Panel appears - enter to proceed.

  1. Edit data set name ending with SPF#.LIST where # can be 1 to 9.
     Observe text of the screen print from previous challenge.
  2. Enter primary command reset to suppress the ==MSG> lines at the top.
  3. Enter primary command cols to display a column ruler.
  4. Enter primary command right 29 to shift the text right by 29 columns -
      the line text begins with column 30 in the display.
  5. Enter primary command left 29 placing column 1 back in the far left of the display.
  6. Enter line command d10 over top of line 000001 - (overtype 00001 with d10).
    d10 deletes 10 lines.
  7. Enter line command d99 over top of the line number where the text "******** End of Data Set list" appears.
    d99 deletes 99 lines which is more than all the remaining lines in the data set.
  8. Type line command ((29 over top of line 000001, then
     tab to last line number and type (( over top of the last line number, then
    enter to execute the line commands where -
    ((29 to (( shifts the range of lines 29 columns to the left.
     The shift left line operation removed text in column 1 to 29 which was mostly spaces.

Successful format of the ISPF Edit session will look like the following ISPF Edit session screen

If the format is not correct, then enter ISPF primary command cancel and start over.

If the format is correct, type primary command replace p2.output(#03)
and c99 over top of line 000001, then enter to copy all lines to member #03 in data set p2.output .

NOTE: A truncation message appears. Truncation is ok. Enter to proceed.

Member #03 created message appears in the upper right area of the display.

The above created member #03 in data set name P2.OUTPUT
where #03 contains an edited screen print of data set names beginning with your ID.

F3 (function key 3) to save and exit from the ISPF editor session.

What you learned about the ISPF editor:

  • Line commands are typed over top of line numbers to the far left of the line text.
  • Primary commands are typed in the edit session Command ===> field.
  • Line commands can be executed against a single line or a block of lines.
  • A combination of line and primary commands can be typed into the edit session,
     then the line and primary commands are executed upon depressing enter.
  • While in ISPF edit session, F1 (function key 1) displays the ISPF editor help tutorial.
  • Remember you have access to an ISPF editor summary reference -
    ISPF Editor Command Summary

The ISPF editor is feature rich, flexible, and powerful.

Professionals continue to learn ISPF editor tricks and techiques for many years after their first exposure to ISPF editor.

It is only possible to become proficient with ISPF editor as a result of repeated use and exploration.

The ISPF Editor is used frequently in the contest.

Congratulations! You are done with challenge #03 and you ready for the next challenge.

Next: Challenge #04