Checking syntax
Developer for z/OS® provides two options for checking the syntax of your resources: local syntax check and remote syntax check.
- A local syntax check uses the Windows COBOL or PL/I compiler to check the
syntax of resources. You can use local syntax check on resources that
are stored locally or on remote resources. Local syntax checking saves
processing time and avoids the expense (if any) that is associated
with added z/OS CPU cycles.
To perform a local syntax check, the source file you want to check
must be in an MVS™ subproject.
The subproject might be in either offline or online state.

IBM® Developer for z/OS does not support
the following functions on Linux® and macOS: bidirectional
enablement with remote debugging, workstation-based debugging, local COBOL or PL/I builds, local
preprocessors for PL/I files, local syntax check, and show dependencies for PL/I files. - A remote syntax check uses the Developer for z/OS JCL procedure support to submit resources to a z/OS-based compiler or assembler for syntax checking. For remote syntax checking from an MVS subproject, the subproject must
be in online state. A remote syntax check allows for a final syntax
check on the target machine. You can perform a remote check syntax
operation on the following resource types:
- COBOL, PL/I, and Assembler source files in a local z/OS project
- COBOL, PL/I, and Assembler source files in a partitioned data set in an MVS subproject or on a remote system
- A local file or remote partitioned data set member that is open in the z Systems® LPEX Editor, COBOL Editor, or PL/I Editor
- The syntax check action is not supported for sequential data sets or MVS subprojects.
- 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.
- Remote syntax check cannot be performed when either the Db2 Precompiler Step or the CICS
Translator Step is enabled in the property group because error feedback is not supported for these
steps. To temporarily override these options:
- Select the file for which you want to perform a remote syntax check.
- Right-click and select . The property group editor opens a copy of the property group specific to the file.
- On the Procedures and Steps page, disable the procedure containing the Db2® Precompiler Step or the CICS® Translator Step and save the property group.
- Perform the syntax check.
- To re-enable the procedure, right-click the file and select .
In relation to local or remote syntax checks, any copybooks, include files, or macros are checked if they are referenced in the source and are accessible. Errors are displayed in the Remote Error List view, and you can double-click an error entry to open the file (potentially an included file) where the error was found.
In the absence of language elements that require special processing, it is recommended that you first check your code locally. After you remove most of the errors, you can check your code against a z/OS-based compiler.