DB2 Universal Database for OS/390 v7.1 Application Certification Guide By Susan Lawson | |
Table of Contents | |
Preface |
This section is the heart of the book in terms of how to code an application in order to communicate with DB2. We first look at how to use SQL in an application program and then how to bind these programs to DB2 in order for them establish access paths to the DB2 data. Some of the additional features of DB2 application programs are examined in terms of how we can use them to make our applications more useful and how to push more work into the DB2 engine. We then look at stored procedures, which provide us not only a way to encapsulate our code, but also a method for reducing traffic across the network. The new SQL procedure language is discussed as well as the use of the Stored Procedure Builder. We then examine how to best test and debug applications before they go into production. Finally, we look at how to access distributed data from our DB2 server within our application programs. |