Opening, browsing, and viewing include files

Use the Open Include File, Browse Include File, and View Include File actions to open or browse an include file from the PL/I Editor or System z® LPEX editor.

Before you begin

Rational® Developer for System z must be able to locate the include file in the SYSLIB. Ensure that your property group settings are defined properly and that the data sets and members are properly allocated.

About this task

The Open Include File action opens a file in edit mode. The Browse Include File action opens it in read-only mode. The View Include File action opens in edit mode; however, you cannot save the changes in the same file. You can save the file under a different name.

Opening and browsing

Procedure

To open or browse an include file from the PL/I Editor or System z LPEX Editor:

  1. Select an include file name in a program file open in the editor.
  2. From the menu, select Open Include File or Browse Include File. The include file opens in the editor.

Viewing

Procedure

  1. Select an include file name in a program file open in the editor.
  2. Right-click and select View Include File from the menu. The include 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