![]() |
Copyright © TIBCO Software Inc. All Rights Reserved |
Validation is the check performed on data entered into a field to verify if it conforms to the known characteristics of that field. For example, known characteristics could be semantics, formatting, association, syntax, and so on.In Phase One validation, data is validated for its semantic data type (logical, date, or numeric). A field containing invalid data is highlighted, the cursor is positioned on the field, and a message appears. Phase One validation of data begins when you press any PF key, except the Refresh key PF24.
Phase Two validation begins when you press any assigned PF key, except the Refresh key PF24, the scroll keys, or the Help key.
• Press PF12, the Validation Exit key. This raises the exception VALIDATEFAIL and you exit the screen display.If VALIDATEFAIL is raised, the data can be accessed under the exception handler ON VALIDATEFAIL. The invalid data is reset to null after Phase One validation. After Phase Two validation, the invalid data is not reset to null; it is available to the exception handler as entered into the screen.
• Type a new value and press one of the assigned PF keys (except for the Refresh key PF24) to initiate the validation process again.TIBCO Object Service Broker Programming in Rules for information on exception handling.
![]() |
Copyright © TIBCO Software Inc. All Rights Reserved |