Skip to main content

VALIDATION - UNVVTSND configuration option

The VALIDATION option specifies validation criteria used to verify the state of the current screen of the virtual terminal.

UNVVTSND Parameter: VALIDATION([(row data col type)]... )

  • row - Specifies the screen row that will be the target of validation.
  • data - Specifies the data that value that should be used to perform the validation.
  • col - Specifies the starting column (in the target row) of the screen data to be validated. The valid values are 1-132 or *SCAN:
    • 1-132 - Specifying the actual column coordinate for the start of data validation.
    • *SCAN - Indicating that the row should be scanned from column one looking for the specified data value.
  • type - Specifies the type of validation operation to perform:
    • *VALID - If the specified data value is found at the specified location, the validation succeeds.
    • *INVALID - If the specified data value is found at the specified location, the validation fails and the UNVVTSND terminates by throwing an exception.

UNVVTSND Parameter: VALIDATION([(row data {1-132 | *scan} {*valid | *invalid})]... )

The VALIDATION option supports up to 10 validation entries.