DB2 Developers Guide Book Flashcards
What are the 5 environments that can access DB2 Data?
TSO, CICS, IMS/VS, CAF, RRSAF
Each DB2 program must be connect to DB2 by an ____ ____, which is the mechanism by which an environment is connect to a DB2 subsystem.
Attachement Facility
What is a thread?
Is a control structure used by DB2 to communicate with an application.
When is a thread established?
A thread is established for each embedded SQL Program that is executing.
How is the thread used?
The thread is used to send requests to DB2, to send data from DB2 to the program, and to communicate (through SQLCA) the status of each SQL statement after it is executed.
What is SQLCA?
SQL Communication Area is a collection of variables that is updated at the end of the execution of every SQL statement.
What is SQLDA?
An SQL Descriptor Area is a collection of variables that is required for execution of the SQL DESCRIBE statement.