Refreshing copybooks

Use the Refresh Copy Member actions to refresh the local copy of a copybook from the editor. The refresh action causes a download of the latest version of the file on the server. Changes that are made in the local version of the file are integrated into the refreshed version.

Before you begin

Supported Editors:
  • COBOL Editor
  • z Systems® LPEX Editor
For the refresh action to be available in the editor, the copybook must be in the SYSLIB. Ensure that the property group settings are defined correctly and that the data sets and members are correctly allocated.

About this task

Procedure

  1. Select a copybook name in a program file open in the editor.
  2. Right-click and select Refresh Copy Member from the menu.
    You can also refresh all dependent copybooks in the editor by using the Refresh Dependencies menu item or keyboard shortcut Ctrl+Alt+D.
    Limitation: The Refresh Dependencies action does not refresh copybooks that are defined with -INC or ++INCLUDE.
  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.