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:
- 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.
- 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.
- Optional. To import a new macro file:
- Click the Import button. The Import
File dialog is displayed.
- Specify the file to import, or click the Browse button
to locate the file.
- Press the Finish button.
The file will now be loaded into the Manage
Macro File dialog
- Optional. To switch to a previously imported or created
macro file:
- Select the desired macro file from the macro file combo box.
The file is loaded into the Manage
Macro File dialog
- Optional. To create a new macro file:
- Click the New button next to the macro
file combo. The New File dialog is displayed.
- Specify the file to create, or click the Browse button
to locate a folder for the file.
- 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
- Optional. To remove a macro file:
- Select the desired macro file from the combo box.
- 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.