Setting syntax error preferences

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

  1. In the navigation pane of the Preferences window, double-click the LPEX Editor node to open the tree of available preference pages.
  2. Double-click the z Systems LPEX Editor node to open the tree of available preference pages.
  3. 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.
  4. Select Enable local syntax checking to have the parser check syntax while you are editing assembler files.
  5. 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.
  6. 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.
  7. 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.
  8. Specify how you want the z Systems LPEX Editor to display any syntax errors:
    1. The Display as annotations radio button specifies that icons display in the vertical rulers.
    2. The Display as embedded messages radio button specifies that error messages display as text in the editor
    3. 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.