Terminating a DBE Session [ ALLBASE/SQL Pascal Application Programming Guide ] MPE/iX 5.0 Documentation
ALLBASE/SQL Pascal Application Programming Guide
Terminating a DBE Session
As illustrated at 7 in Figure 3-1, you can terminate a DBE session with
the RELEASE option of the COMMIT WORK command. The program in Figure 3-1
terminates its DBE session whenever the following conditions occurs:
* The user enters a slash (/) in response to the prompt in procedure
SelectData.
* The program encounters an error serious enough to set Abort to
TRUE in procedure SqlStatusCheck.
* The program encounters an error when processing the CONNECT, BEGIN
WORK, or COMMIT WORK commands.
MPE/iX 5.0 Documentation