Interskill Learning Mainframe Training

American English British English Brazilian Portuguese French German Italian Russian Spanish (European) Spanish (Latin American)
+44 (0) 1625 441120

The Online Mainframe Training Specialists
Search   Course Catalog   Live Chat!  
Return to Catalog Home     Return to Curriculum Listing

Create and Maintain DB2 Programs v11

Duration

6 hours

Overview

The Create and Maintain DB2 Programs course describes how SQL is invoked from an application program and the interaction that can occur between the application program and DB2. This course also discusses how a DB2 COBOL Program is created.

Audience

Programmers and DBAs requiring training in writing application programs to reference and update DB2 data, particularly in the mainframe environment

Prerequisites

Completion of the courses Manage Data Definitions with DB2, DB2 SQL Fundamentals and Advanced DB2 SQL, and basic knowledge of DB2, relational databases, and system design.

Objectives

After completing this course, the student will be able to identify how the following programs are written with DB2:

  • Report programs
  • Data inquiry programs
  • Data update programs

Course Content

Embedding SQL in an Application Program

Preparing an Application Program with Embedded SQL
DB2 Precompiler and Coprocessor
Plans and Packages

Manipulating Data and Components of an Application Program

Codes Returned from DB2 to an Application Program
Declaring Table Definitions
Host Variables that Pass Values between an Application Program and DB2
Null Values
Indicator Variables

Using Cursors to Reference Table Data

Using a Cursor
ROW and ROWSET Cursors
Scrollable Cursors
Cursor Attributes

Commits and Savepoints

Commit Points and their Effect On Cursor
DB2 Rollbacks and How to Force One
Save Points

Writing a DB2 COBOL Program

Step by Step Process to Building a DB2 COBOL Program

Writing a DB2 COBOL Cursor Update Program

Writing a DB2 COBOL Program By Using a Cursor
Writing a DB2 COBOL Update Program By Using a Cursor

Create and Maintain DB2 Programs Mastery Test

Looking for more information about Interskill Learning Products?
Contact our Learning Consultants or call us at +44 (0) 1625 441120