VIEW—View from within an Edit Session

The VIEW primary command allows you to view a sequential data set, partitioned data set member, or z/OS® UNIX file during your current edit session.

Syntax

Read syntax diagramSkip visual syntax diagramVIEWmember
member
A member of the ISPF library or other partitioned data set you are currently editing. You may enter a member pattern to generate a member list.

Description

To view a data set, member, or z/OS UNIX file during your current edit session:

  1. On the command line, type:
    VIEW

    or

    VIEW member
    Here, member represents the name of the partitioned data set you are editing. The member operand is optional.
  2. Press Enter. If you specified a member name, the current library concatenation sequence finds the member. The member is displayed for viewing. If you do not specify a member name, the View Command Entry panel, which is similar to the regular View Entry panel, appears. You can enter the name of any sequential data set, partitioned data set, or z/OS UNIX file to which you have access. When you press Enter, the data set, member, or z/OS UNIX file is displayed for viewing. The editor suspends your initial edit session until the view session is complete. Viewing sessions can be nested until you run out of storage.
  3. To exit from the view session, enter the END command. The current edit session resumes.

Examples

To view member YYY of the current library concatenation:

  1. On the command line, type:
    VIEW YYY
  2. Press enter.