IBM DB2 Universal Database for z/OS Version 8 Application Programming and SQL Guide

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.


IBM DB2 Universal Database for z/OS Version 8 Application Programming and SQL Guide - cover page
Brand
IBM
Category
Other software
Document type
Programming Manual
Language
English
Pages
1200
File format
PDF
File size
15 MB
Published
01 December, 2023
Updated
01 December, 2023
MD5 checksum
2630CD12F7D2A69935B348981A804AEC

About this manual

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.

What's inside

  • Retrieving data
  • Working with tables and modifying data
  • Joining data from more than one table
  • Using subqueries
  • Using SPUFI to execute SQL from your workstation
  • Basics of coding SQL in an application program
  • Using a cursor to retrieve a set of rows
  • Generating declarations for your tables using DCLGEN
  • Embedding SQL statements in host languages
  • Using constraints to maintain data integrity

Specifications

Product versionVersion 8
Product number5625-DB2

Frequently asked questions

What version of DB2 does this guide apply to?

It applies to Version 8 of IBM DB2 Universal Database for z/OS, product number 5625-DB2.

What is SPUFI used for in this book?

SPUFI is used to execute SQL from your workstation.

How can an application program retrieve a set of rows?

The guide describes using a cursor, with steps to declare, open, process and close it.

What does DCLGEN do?

It generates declarations for your tables, and the guide explains invoking it through DB2I and including the declarations in your program.

Download PDF (15 MB)

More IBM Manuals


View all IBM manuals →