Opening, browsing, or viewing a file reference

In the COBOL, JCL, or PL/I editor, you can open a selected file reference in your program in edit, browse, or view mode. The selected reference must be a valid reference to a structure.

Before you begin

Ensure that property group settings are defined correctly and that the data sets and members are allocated correctly so that data sets and members can be located. The editor uses the Include and procedure search libraries field of the associated property group to search for data sets and members.

Opening and browsing a file reference

Procedure

  1. In the editor, highlight the reference to the file that you want to open and right-click.
  2. Click Open file_reference. The file_reference displays the name of the file that is requested to be opened. The file opens in the editor.

Viewing a file reference

About this task

The View file_reference action opens a file in edit mode. However, you cannot save the changes in the same file. You can save the file with a different name.

Procedure

  1. Select the reference to the file that you want to open.
  2. Right-click and select View file_reference from the menu. The file opens in the editor.
  3. If you modify the file, you are prompted to save the file with another name.
    Note: The Save as feature cannot be used to create a member or sequential data set. The file is saved in your local workspace project.

Feedback