Downloading and refreshing copybooks and include files

The z Systems® LPEX Editor downloads copybooks and include files the first time you open a source file after you connect to a remote system.

Limitations: In the z Systems LPEX editor, this operation cannot be undone.

When you open a PL/I or COBOL program in an edit session for the first time after you connect to a system, copybooks and include files are downloaded. If you open the same program again in the editor, the copybooks and include files are not downloaded. You can download individual copybooks and include files in the editor by using the Refresh Cached Copy menu item. If you disconnect from the system and connect again, then the copybooks or include files are downloaded the first time that you open a COBOL or PL/I file in the editor after you reconnect.

You can also refresh all dependent copybooks and include files in the editor by using the Refresh Dependencies menu item or keyboard shortcut Ctrl+Alt+D.

Note: For PL/I program that uses the -INC or ++INCLUDE syntax, an associated property group with the following compiler options is needed to allow the dependencies to be resolved.
  • For -INC, the compiler option is:
    
    PPINCLUDE('ID(-inc)') PP(INCLUDE)
    
  • For ++INCLUDE, the compiler option is:
    
    PPINCLUDE('ID(++INCLUDE)') PP(INCLUDE)
    

For more information, see Enterprise PL/I for z/OS® Programming Guide.