Counting fields in the host terminal during macro development

If you want to view the Number of Fields field and the Number of Input Fields field, you can view the values and set the descriptors automatically to the values on the current screen.

To use this feature follow these steps:
  1. Edit the macro in the host terminal. You can also use this feature while recording a macro.
  2. In the host terminal, go to the application screen corresponding to the macro screen that you are working on. The values are always based on the screen shown in the host terminal.
  3. In the tree view on the left, right-click the screen name and select Edit to bring up the Define Screen Recognition Criteria page.
  4. The macro editor displays the total number of fields, the number of input fields, and the cursor position in the current application screen. Check the boxes for the criteria you want to use to recognize this screen.
  5. To set the Number of Fields field and the Number of Input Fields field to the correct values, you can use the Refresh button beside each input field to count the fields in the application screen for you.
  6. Click Finish.