Local syntax check of a remote file from the z/OS Projects view
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
Limitations:
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.- 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.
Note: This procedure outlines the default behavior for local syntax check. You can also request the
syntax check operation to look in your subproject for dependent files. To get this behavior, select
the Syntax Check option in the Preferences window. For
more information, see the related links.
Restriction: A local syntax check of a remote file that
contains copy members might use stale copy members from the cache if the copy member was moved to a
different location in the SYSLIB concatenation that is specified in the
SYSLIB field of the property group. This situation can occur if you have two
identically named copy members in different locations of the SYSLIB concatenation, perform a syntax
check, and then delete the identically named copy member that is highest in the concatenation. To
work around this problem, do these steps:
- 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 the z/OS Projects view, 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.