Introduction to Database Access Facilities
This chapter provides an introduction to the database access facilities. This book does not provide details about SQL syntax, error messages returned or any use of SQL outside of the COBOL environment. For details of these, refer to the documentation supplied by your database vendor.
Host Variables
This chapter describes host variables and using them to pass values to and receive values from a database.
Data Types
SQL data types differ from those used in COBOL.
Cursors
This chapter describes how to use cursors.
Dynamic SQL
If everything is known about a SQL statement when the application is compiled, the statement is known as a static SQL statement.In some cases, however, the full text of a SQL statement may not be known when an application is written. For example, you may need to allow the end-user of the application to enter a SQL statement. In this case, the statement needs to be constructed at run-time. This is called a dynamic SQL statement.