Number of Input Fields descriptor (<numinputfields> element)

The Number of Input Fields descriptor is very similar to the Number of Fields descriptor described in the previous section. The difference is that the Number of Input Fields descriptor specifies a number of 3270, or 5250, input fields, whereas the Number of Fields descriptor specifies a number of fields of all types, including input fields.

You can use an integer in the Number of Input Fields field, or any entity that evaluates to an integer (such as a variable, an arithmetic expression, or a call to an external Java™ method).

During screen recognition, the macro runtime:
  1. Evaluates this descriptor and obtains an integer result.
  2. Counts the number of input fields in the application screen (in its current state).
  3. Compares the two numbers.
If the two numbers are equal then the macro runtime evaluates this descriptor as true. Otherwise the macro runtime evaluates this descriptor as false.

If you do not want to use this descriptor then set the Number of Input Fields field to blank.