Defining a dependency relationship
A dependency relationship is defined when one parameter requires another parameter to be specified.
Procedure
To define a dependency relationship, complete the following steps:
- 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.
- 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.
- Do one of the following actions:
- Select the Assembler Instruction tab.
- Select the Macro Instruction tab.
- 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.
- Click on the Define Relationships button.
The Define Parameter Relationships dialog appears.
- Click on the Define dependency relationship button.
The Define Parameter Dependency dialog appears.
- Select the parameter that requires another from the Parameter combo.
- Optional. Select a value for the parameter.
- Select the parameter that is required from the Requires parameter combo.
- Optional. Select a value for the required parameter
- Click on the Ok button in the Define Parameter
Dependency dialog. The newly created exclusive relationship appears in the table.
- Click on the Ok button in the Define Parameter Relationships dialog.
- 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.
- Click on the Ok button in the Manage Macro Files dialog.