Rational Developer for System z

Adding a Number of Fields descriptor

A Number of Fields descriptor is evaluated as true if the number specified in the descriptor is equal to the total number of fields of all types, including input fields, present in the currently displayed application screen.
Important: The Number of Fields descriptor is not supported when the screen message contains BMS map information and is used in a flow having a flow type of Link3270 Bridge (see Support for screen descriptors in the runtime environments).
To create a Number of Fields descriptor:
  1. Right-click the screen description to which you want to add the descriptor.
  2. Click Add Descriptor > Add Num Fields Descriptor.
    Note: Alternatively, instead of doing steps 1 and 2, you can do the following:
    1. On the Screen Descriptions tab, click the screen description to which you want to add the descriptor.
    2. Click Screen Messages > Add Num Fields Descriptor on the menu bar of the workbench.
  3. The descriptor is created. The Number of Fields property of the descriptor is set to the total number of fields of all types, including input fields, present in the currently displayed application screen.
Note: A screen description can contain only one Number of Fields descriptor.

You can modify the properties displayed in the Properties view:
  1. Select the property that you want to modify.
  2. Type or select the value that you want the property to have.
Tip: If the Properties view is not visible, see Opening or reopening a view.

Table 1 lists each property and its significance:
Table 1. Number of Fields descriptor
Property: Significance:
Invert Match After the descriptor has been evaluated as true or false with respect to the currently displayed application screen, the value of the Invert Match property is checked:
  • If the Invert Match value is true, then the boolean result obtained by evaluating the descriptor is inverted, changing true to false or false to true.
  • If the Invert Match value is false, then the boolean result is not inverted.
Number of Fields Specifies the number of fields of all types, including input fields, that are present in the application screen.

Feedback