- Tel: +44 (0)1275 859666
DB14 - DB2 z/OS for Assembler Developers - 5 Days
Course Description
This course provides the applications programmer with an in-depth knowledge of the DB2 development process. It is aimed at programmers who need to code or support DB2 application programs written in Assembler.
Pre-requisites
The delegate should be familiar with the z/OS host environment, together with a working knowledge of Assembler program development using TSO / ISPF.
Objectives
The aim of this course is to provide the programmer, unfamiliar with DB2, with the necessary skills required to define, access and manipulate DB2 data, either via an application program or using SPUFI.
On completion of this course the student will be able to:
- set up a DB2 test environment, using correctly defined tables, views, indexes, synonyms and aliases
- use both permanent and temporary tables
- use the DB2I toolset, including SPUFI
- code SQL statements to read and manipulate DB2 data
- develop, prepare and execute DB2 programs
- bind packages and plans
- use non-scrollable and scrollable cursors
- use multi-row INSERT and FETCH processing
- describe the locking process used by DB2
- define and use Referential Integrity
- use Identity Columns and Sequences
- produce EXPLAIN output using a PLAN_TABLE
- use the LOAD utility to populate tables
Environment
Development will be performed using:
- IBM Mainframe
- DB2 for z/OS Versions 10, 111 or 12
Customisation
For on-site courses (i.e. at your premises), we are more than happy to tailor the course agenda to suit your exact requirements. In many cases, we are able to build your in-house standards and naming conventions into the delivered course.
Course Details
- INTRODUCTION TO DB2
- The Relational Model
- Data Representation
- The DB2 Environment
- The DB2 Table
- Accessing The Data
- Interfaces to DB2
- SQL Structure
- Embedded SQL
- DB2 Data Relationships
- Access Path Selection
- DB2 Table Structure
- DB2 Data Types
- DB2 Catalog
- DB2 Interactive
- SPUFI
- Database Design / Data Analysis
- Overview Of Normalisation
- First Normal Form
- Order Form Example
- Second Normal Form
- Third Normal Form
- Check 3nf
- Data Representation
- DATA DEFINITION LANGUAGE
- The Structure Of DB2 Objects
- Definition Of DB2 Objects - DDL
- Database Definition
- Tablespace / Page Organisation
- Page Sizes
- Tablespace Layout
- Types Of Tablespace
- Tablespace Definition
- Table Definition
- Table Names
- Copying Table Definitions
- Rename Table
- Data Partitioning
- DB2 Column Types
- Null Values
- User Defined Default Values
- Global Temporary Tables
- Declared Temporary Tables
- Declared Temporary Table Considerations
- Declared Temporary Tables - Comparisons
- DB2 Views
- Read Only Views
- Views - With Check Option
- Creating A View Of Two Tables
- DB2 Synonym
- DB2 Alias
- The Alter Statements
- DB2 Indexes
- Index Organisation - The B Tree Index
- Index Clustering
- Non-Unique Indexes
- Index Definition
- Partitioning Indexes
- Index Design Considerations
- The Drop Statement
- Definition Of DB2 Objects - DDL
- DB2 INTERACTIVE (DB2I)
- DB2I Options
- SPUFI - SQL Processor Using File Input
- Running Queries
- SPUFI Defaults
- SPUFI - Setting Autocommit to NO
- DB2 Commands
- DB2 Utilities
- The DB2I Defaults Panel
- SPUFI - SQL Processor Using File Input