Local syntax check of a remote file from an editor
When you request a local syntax check for a remote COBOL or PL/I file, the syntax check operation searches the remote system for all dependencies (such as copybooks and include files) and caches these files in a temporary location in your workspace. The list of files is also stored as a property of the remote file. This search and temporary caching enables a syntax check operation to complete without requiring you to add the dependent files to your MVS subproject.
Before you begin
- Local syntax check is deprecated. This action is available only on Windows.
- Local syntax checking does not support shift-out-shift-in (SOSI) sources. The importer that is used to do the local syntax check supports only UTF-8 encoding. Translating CP-930 and other SOSI sources into UTF-8 alters the column locations for some characters, and this alteration results in unexpected errors.
Before you check syntax locally, you might need to set local build options. You must do this action only once and only if you want to override the default values.
This procedure outlines the default behavior for local syntax check. You can override this default behavior and request that the syntax check operation look only in your subproject for dependent files. To override this default behavior, select the Syntax Check option in the Preferences window. For more information, see the related links.
- In the Preferences window, navigate to , and then press Clear Cached Files.
- Right click in the Remote Error List, and remove all error messages. This step prevents any error messages from existing copy files from being displayed.
- Perform the local syntax check and refresh dependencies to make sure that the copy files are refreshed in the cache location.
Procedure
To do a local syntax check of a remote file from an editor, follow these steps:
Results
- JES subsystem is not connected. Connect to the subsystem and retry the operation. This message might appear if the JES subsystem is not connected.
- The submitted job has ended with a JCL error. Check the build properties and retry the operation. This message might appear if, for example, you specified a partitioned data set in the SYSLIB that does not exist.