Articles & Content


Multi-row Fetch, Insert, & Get Diagnostics (F09)

Topic: 2006 NA

Subtopic: DB2 for z/OS

DATE: 2006-05-10 (01:00 PM - 02:10 PM)
SPEAKERS: David Cohn (CSC Arabia)

One major new feature of V8 is the ability to do multi-row fetching and inserting in a single SQL statement. This presentation explores the mechanics of multi-row processing, explaining how it works, and exposing an interesting "GOTCHA". Multi-row processing can result in multiple errors in a single SQL statement, which is more than the SQLCA can handle. The solution is Get Diagnostics, which is also examined in detail.

EXP. LEVEL: Beginner,Intermediate,Advanced


Benefits of multi-row processing

Mechanics of multi-row Insert & Fetch

A big "GOTCHA" and new error codes

Details of Get Diagnostics

Example of using multi-row processing

This file is being provided by IDUG. We would encourage you to join IDUG to get full access to all of our files and resources. Joining IDUG is FREE and signing up is simple. Click here to join! or login!

Download File
Click to Download

NOTE: These are only open to members of IDUG. If you are not a member, please CLICK HERE for more information.