Defining a bracket relationship

A bracket relationship tells the parser that a parameter should contain a list of one or more parameters between brackets.

Procedure

To define a bracket relationship, complete the following steps:

  1. Do one of the following actions:
    • In the HLASM tab of the Editor Options preference page, 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.
  2. Click on the Manage button next to the User Macro File field.
    The Manage Macro Files dialog appears and, if specified, it will load the macro file from the User Macro File field.
  3. Do one of the following actions:
    • Select the Assembler Instruction tab.
    • Select the Macro Instruction tab.
  4. Do one of the following actions:
    • Click on the New button, specify the instruction name, and click on the Next button to go to the Parameters page
    • Click on the Edit button to edit an existing instruction.
    • Click on the Copy button to copy an existing instruction.
  5. Click on the Define Relationships button.
    The Define Parameter Relationships dialog appears.
  6. Click on the Define a parameter bracket list button.
    The Define Bracket List Parameter dialog appears.
  7. Select the parameter which contains a bracket list from the Bracket list parameter combo.
  8. Select one or more parameters which are allowed within brackets for the parameter from the parameter list.
    Note: Specify characters in the text field to filter the parameter list to find the desired parameters quickly. Click on the eraser to clear the filter.
  9. Click on the Ok button in the Define Bracket List Parameter dialog.
    The newly created exclusive relationship appears in the table.
  10. Click on the Ok button in the Define Parameter Relationships dialog.
  11. Click on the Finish button in the Create Assembler Instruction or Create Macro Instruction wizard or the Ok button in the Define Assembler Instruction or Define Macro Instruction dialog.
    The instruction is added to the instruction list.
  12. Click on the Ok button in the Manage Macro Files dialog.