Opening, browsing, and viewing copybooks

Use the Open Copy Member, Browse Copy Member and View Copy Member actions to open, browse, or view a copybook from the COBOL Editor or System z® LPEX editor.

Before you begin

Ensure that your property group settings are defined properly and that the data sets and members are properly allocated so that the copybook can be found in SYSLIB.

About this task

The Open Copy Member action opens a file in edit mode. The Browse Copy Member action opens it in read-only mode. The View Copy Member action opens a copybook 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 a copybook from the COBOL Editor or System z LPEX Editor:

  1. Select a copybook name in a program file open in the editor.
  2. From the menu, select Open Copy Member or Browse Copy Member. The copybook opens in the editor.

Viewing

Procedure

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