Managing macro definition files

The HLASM parser uses the base macro file and the user macro file to syntax check and provide content assist when editing files in z Systems® LPEX Editor. The contents of a macro file can be viewed via graphical interface using the Manage Macro File dialog.

Procedure

To manage macro files in the Manage Macro Files dialog, complete the following steps:

  1. Do one of the following actions:
    • In the HLASM tab of the Editor Options preference page (see Editing HLASM options), type the name of your user macro file in the User Macro File field.
    • In the HLASM Parser preference page, type the name of your user macro file in the User Macro File field.
    • In the Editor Options section on the Assembler page of the Properties Editor, type the name of your user macro file in the User Macro File field.
  2. Click the Manage button next to the User Macro File field.
    The Manage Macro Files dialog appears and, if a macro file is specified in the User Macro File field, it is loaded.
  3. Optional. To import a new macro file:
    1. Click the Import button. The Import File dialog is displayed.
    2. Specify the file to import, or click the Browse button to locate the file.
    3. Press the Finish button.
    The file will now be loaded into the Manage Macro File dialog
  4. Optional. To switch to a previously imported or created macro file:
    1. Select the desired macro file from the macro file combo box.
    The file is loaded into the Manage Macro File dialog
  5. Optional. To create a new macro file:
    1. Click the New button next to the macro file combo. The New File dialog is displayed.
    2. Specify the file to create, or click the Browse button to locate a folder for the file.
    3. Click Finish.
    The file is loaded into the Manage Macro File dialog.
    Note: The file is created only if you press Ok when exiting the Manage Macro File dialog
  6. Optional. To remove a macro file:
    1. Select the desired macro file from the combo box.
    2. Click the Remove file button.
    The macro file is removed from the combo box and the next macro file in the list is selected and loaded.