You can use the Syntax Error preference page to display syntax errors in z Systems® LPEX Editor when editing HLASM code.
About this task
To set the HLASM Syntax Error preferences, complete the following steps:
Procedure
-
In the navigation pane of the Preferences window, double-click the
LPEX Editor node to open the tree of available preference pages.
-
Double-click the z Systems LPEX Editor node to open the tree of
available preference pages.
-
Double-click on the HLASM Parser node to open the tree of available
preference pages, then click on Syntax Errors to open the Syntax Errors
preference page.
-
Select Enable local syntax checking to have the parser check syntax
while you are editing assembler files.
-
Select Flag unknown instructions to have the parser flag instructions
that it are not in the macro file.
When this option is selected, unknown instructions are marked with an annotation, and the
instruction is underlined.
-
Select Issue syntax errors for missing labels on branch statements so
syntax errors display when the syntax checker encounters a branch statement for a label not in the
assembler file.
-
Select Issue syntax error when tab characters found so that the parser
issues a syntax error when tab characters are encountered in a line. Even though tab characters may
display a continuation character as correctly positioned, the assembler does not recognize the
position as acceptable.
-
Specify how you want the z Systems LPEX Editor to
display any syntax errors:
-
The Display as annotations radio button specifies that icons display in
the vertical rulers.
-
The Display as embedded messages radio button specifies that error
messages display as text in the editor
-
The Display as annotations and embedded messages radio button specifies
that icons display in the vertical rulers and error messages display as text in the editor.