Rational® Developer
for System z® provides two
options for checking the syntax of your resources: local syntax check
and remote syntax check.
When you develop COBOL or PL/I code in an MVS™ subproject, you can do a local
or remote syntax check on a particular source file:
- 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 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 may be in either offline or online state.
- A remote syntax check uses Developer for System z's
JCL procedure support to submit resources to a z/OS-based compiler
for syntax checking. For remote syntax checking from an MVS subproject,
the subproject must be in online state. A remote syntax check allows
you to do a final syntax check on the target machine.
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
have removed most of the errors, you can check your code against a
z/OS-based compiler.