Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved


Chapter 7 The Exception Statements : UNTIL … DISPLAY Statement

UNTIL … DISPLAY Statement
The UNTIL … DISPLAY statement, which is a looping construct with a display, displays a screen repetitively until an exception is encountered.
Usage of UNTIL … DISPLAY
An UNTIL … DISPLAY statement contains:
1.
2.
3.
4.
5.
Action sequence numbers are not permitted within an UNTIL loop; since an UNTIL loop constitutes a single statement, all the actions within it are executed whenever the UNTIL is executed.
6.
Usage Notes
Execution of an UNTIL … DISPLAY statement terminates when an exception on the list is detected (and not handled by rules inside the UNTIL loop) during the execution of the statements comprising the loop. Control passes to the actions that follow the END statement of the loop.
Example
UNTIL DONE DISPLAY QUERY_SCREEN:
CALL PROCESS_FCNKEYS('QUERY_SCREEN');
   END;
About the Example
In this example, the QUERY_SCREEN screen appears up to the point the DONE exception is signaled during the display.
See Also
TIBCO Object Service Broker Defining Screens and Menus about defining and displaying TIBCO Object Service Broker screens.

Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved