Exiting interactive SQL

 

To exit the interactive SQL environment, press F3 (Exit) on the Enter SQL Statements display. Several options are available for exiting.

Notes:

  1. Option 4 allows you to embed prototype SQL statements in a high-level language (HLL) program that uses SQL. Use the source entry utility (SEU) to copy the statements into your program. The source file can also be edited and used as the input source file for the Run SQL Statements (RUNSQLSTM) command.

  2. If rows have been changed and locks are currently being held for this unit of work and you attempt to exit interactive SQL, a warning message is displayed.

 

Parent topic:

Using interactive SQL