To perform a quick verification of your code, you can execute
a syntax check on your program as an initial form of validation. Performing
a syntax check is quicker than performing a full build, so you should
use it when you want quick feedback on the correctness of your program.
Any EXEC CICS statements embedded in COBOL and PL/I
source can be automatically translated by your CICS® translator before executing a syntax check.
Before you begin
Before
executing a syntax check using CICS Transaction
Server for OS/390®, you must
first
configure your workbench
to use CICS Transaction Server
as your CICS translator.
About this task
To execute a remote syntax check, follow these steps:
Procedure
In the z/OS Projects or Enterprise
Projects view,
right-click on the resource you want to check the syntax of and click Syntax
Check > Remote or press Ctrl+Alt+R. If a JCL error occurs or the job ends abnormally, Rational® Developer for System z® displays an error
message to help you solve the problem. From this message window, you
can do one of the following:
- Open the job output to view the error messages and return codes.
- Open the property group associated with the file to view the build
properties currently in use.
Results
Errors found by the syntax checker will be listed in the Remote
Error List view.
What to do next
Double-click on an error listed in the Remote Error List
view to display the corresponding line of code in the LPEX Editor.