To assign a value to a screen, COMMAREA, or work field
From the
Interface Mapper
Assignments pane, right-click, then click
New Assignment from the popup menu.
From the
Assign to drop-down list, click the field to which you want to assign a value.
In the
Field 1/Operand 1 field, do one of the following:
To assign a field value, click a field name from the drop-down list
To assign a numeric or non-numeric literal value, type the value into the field
Click
OK.
Note:
Fields that are part of an array appear on the
Field/Operand drop-down lists with a subscript. The default subscript is the total number of occurrences of the field. To specify a specific
occurrence, edit the subscript in the
Field/Operand field. If you want to specify all occurrences, type an asterisk (*) as the subscript.
Any condition defined for the assignment appears in the
Assignment Condition box at the bottom of the
Assignment dialog box.