Defining an exclusive relationship

An exclusive relationships is used to indicate to the parser that two of more parameters cannot be simultaneously specified.

Procedure

To define an exclusive 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 exclusive parameters button.
    The Define Exclusive Parameters dialog appears.
  7. Select two or more parameters to be exclusive from each other.
  8. Optional. Enter text in the field to filter the parameter list to help you quickly find the desired parameters. Click on the eraser to reset the filter.
  9. Click on the Ok button in the Define Exclusive Parameters 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.