DB2 Server for VSE & VM: Application Programming
Chapter 2. Designing a Program
Partial Table-of-Contents
Defining the Main Parts of a Program
Creating the Prolog
Declaring Variables That Interact with the Database Manager
Relating Host Variables to an SQL Statement
Handling Errors with the SQL Communications Area
Using Additional Nonexecutable Statements
Creating the Body
Connecting to the Application Server
Defining Objects
Manipulating Objects
Controlling Application Server Resources
Granting Authorities and Privileges
Creating the Epilog
Ending the Program
Ending the Program for VSE Batch or ICCF Applications (DB2 Server for VSE Only)
Ending the Program for CICS/VSE Transactions (DB2 Server for VSE Only)
Using Logical Units of Work
Defining the Logical Unit of Work
Beginning a Logical Unit of Work
Considering the CICS/VSE Logical Unit of Work (DB2 Server for VSE Only)
Ending a Logical Unit of Work
Using the COMMIT Statement
Using the ROLLBACK Statement
Summary
Using Host-Dependent Sample Applications
Contents
[
Top of Page
|
Previous Page
|
Next Page
|
Table of Contents
|
Index
]