The DB2 Universal Database for z/OS Application Programming and SQL Guide provides information about how to use the DB2 Universal Database for z/OS application programming interfaces (APIs) and SQL statements.
This guide, document number SC18-7415-03, applies to Version 8 of IBM DB2 Universal Database for z/OS (product number 5625-DB2). This softcopy fourth edition, dated February 2006, opens with an "About this book" section covering who should read the book, terminology and citations, syntax diagrams, accessibility, and how to send comments.
Part 1 covers retrieving data, working with tables and modifying data, joins, subqueries, and using SPUFI to execute SQL from a workstation. Part 2 covers the basics of coding SQL in an application program, cursors, DCLGEN, embedding SQL statements in host languages, using constraints to maintain data integrity, and using DB2-generated values as keys.
| Product version | Version 8 |
|---|---|
| Product number | 5625-DB2 |
It applies to Version 8 of IBM DB2 Universal Database for z/OS, product number 5625-DB2.
SPUFI is used to execute SQL from your workstation.
The guide describes using a cursor, with steps to declare, open, process and close it.
It generates declarations for your tables, and the guide explains invoking it through DB2I and including the declarations in your program.