Adding a target context definition
To add a new target context definition, use the ADD command.
You must be in edit mode before you can enter the ADD command; see Editing-target-context-definitions.
When the ADD command is used, the Add New Target Definition dialog, shown in the figure in Defining-a-target-context, is displayed either with * (asterisk) values or with the values of an existing target context definition that you want to use as a template for the new definition. How you enter the ADD command determines the field values that appear.
When the information for a new target context definition is complete, press END from the dialog to return to the TGTDEF or TGTDEFD view. The TGTDEFD view does not appear to be updated, but when you return to the TGTDEF view, the new target context definition is listed.
After you have added a new target context definition you can perform any of the tasks that are shown in the following table:
Task | Command | Reference |
---|---|---|
Cancel the new target context definition | CANcel primary command | |
Make the new target context definition active immediately | INSTall primary or INS line command | |
Save the new definition to the BBPARM parameter library member | SAVE primary command |
The following forms of the ADD command are available:
Primary command
The primary form of the ADD command is entered on the COMMAND line and is entered in the same way on both the TGTDEF and TGTDEFD views.
When the primary ADD command is used, the Add New Target Definition dialog appears with blank fields.
Line command
The A line command is entered in the line command field and is entered in the same way on both the TGTDEF and TGTDEFD views. The action is taken against the resource on the line where the command is entered.
The current definition is assumed to be the definition that you want to use as a template. The Add New Target Definition dialog appears with the values for the current definition. You must cancel from this dialog or change at least one of the following fields:
- Target
- Product
- Server
- System
Related topic