HPlogo ALLBASE/SQL FORTRAN Application Programming Guide: HP 3000 MPE/iX Computer Systems > Chapter 3 Embedding SQL Commands

Terminating a DBE Session

» 

Technical documentation

Complete book in PDF
» Feedback

 » Table of Contents

 » Index

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 user enters a slash (/) in response to the prompt in subprogram unit QueryTable.

  • The program encounters an error serious enough to set Abort to .TRUE. in subprogram unit SQLStatusCheck.

  • The program encounters an error when processing the CONNECT, BEGIN WORK, or COMMIT WORK commands.

Feedback to webmaster