Home   |   Instructor-led Training   |   Self-Paced Learning                Email Us   Phone :
Contact Us   -   About Us          
 
Courses
A+ training
ADA training
Adobe training
AJAX training
AutoCAD training
Business Skills and Technology training
C++ programming training
Cisco training
Citrix training
Cognos training
ColdFusion training
COM/COM+ training
CORBA training
Corel training
Crystal Reports training
Data Mining training
DB2 training
Desktop Application Software training
Enterprise Architecture training
ITIL training
Java training
JBoss training
Legato training
Lotus training
Macintosh training
Mainframe programming training
Microsoft / MCT training
MS Access training
MultiMedia and design training
.NET training
Network+ training
Object oriented analysis and design training
Oracle training
Perl training
PHP training
PowerBuilder training
Professional Development training
Professional Soft Skills Workshops training
Project Management training
Rational training
SAS training
Security training
SharePoint training
SOA training
SQL Server training
Telecommunications training
Tivoli training
Unix/Linux/Solaris/AIX training
Visual Basic training training
Visual Foxpro training
VMware training
Web 2.0 training
Web Development training
WebLogic training
WebSphere training
Websphere MQ (MQSeries) training
Windows programming training
XML training
XML Web Services training
DB2 for OS/390 and z/OS Application Programming
Overview

First, the concepts of DB2 are presented and discussed.

The Structured Query Language (SQL) is presented as the means to access DB2 data (and to create and secure DB2 components). Several guided, hands-on, practice sessions give each attendee an opportunity to use SQL to access data. QMF and/or SPUFI are used to execute SQL statements. Referential Integrity concepts and implementation are covered.

DB2 (SQL) programming concepts are presented and discussed in detail. A "shell" program is modified to SELECT a single row, FETCH multiple rows, INSERT, UPDATE, and DELETE row(s), use Referential Integrity, and use column functions and grouping.

DB2 performance guidelines are discussed. The SQL statement EXPLAIN PLAN is used to help to evaluate the efficiency of SQL statements.

  • Version 6 - 100 new scalar functions, update Triggers, User Defined Functions (UDF), User Defined Types (UDT)
  • Version 7 - UNION Everywhere, Scrollable cursors, Limited Fetch
  • Version 8 - additional SQL features
Also, a demonstration is provide of DB2 for WINDOWs to show "future" features for DB2 for OS/390. These features include Recursive SQL, the WITH SQL feature, GROUPING SETS, ROLLUP and Visual Explain.

LEARNING OBJECTIVES

As a result of this class, the attendee will be able to -

  • Explain DB2 concepts, terminology and components
  • Discuss the Primary Key (PK), Unique Key (UK) and Foreign Key (FK) concept
  • SELECT rows of data from DB2 tables
  • Use QMF and/or SPUFI to "run" SQL statements
  • Use the WHERE clause to SELECT specific rows of a DB2 table
  • Build queries using the ORDER BY, GROUP BY, HAVING clauses
  • Use the CASE expressions and several SCALAR / COLUMN FUNCTIONS
  • Access multiple tables using JOIN, UNION, sub-queries, nested table expressions
  • CREATE Tables, Indexes, Views
  • "Change" tables using the INSERT, UPDATE, DELETE statements
  • Describe the security provided by the GRANT and REVOKE
  • Discuss the design considerations of REFERENTIAL INTEGRITY
  • Perform DCLGENs to build table definitions and I/O areas
  • Modify a "shell" program to select a single row, multiple rows, and change rows
  • Discuss the importance of the SQLCODE and how to test for it
  • Discuss overall DB2 PERFORMANCE considerations
  • Run the EXPLAIN PLAN SQL statement and analyze results
Audience

Experienced Data Processing personnel who need use SQL to design and develop programs to access DB2 data.

Prerequisites

At least six months of TSO/ISPF and COBOL programming experience is recommended. No previous database experience is needed.

Course duration

3 days

Course outline

DAY 1
 
  1. DB2 Application Programming


  2. 10. SQL Programming I - Overview
    11. SQL Programming II - Data and Procedure Division Changes
    12. SQL Programming III - SELECTing Multiple Rows
DAY 2
 
  1. DB2 Application Programming (Continued)


  2. 13. Concurrency Control - Locking
    14. SQL Programming IV - INSERT, UPDATE, DELETE
DAY 3
 
  1. DB2 Application Programming (Continued)
  2. Additional Topics


  3. 15. SQL Programming V - Other Programming Considerations
    16. DB2 Performance Introduction
    17. Data Control Language (DCL)

Appendices

Appendix A - IBM Sample Tables Appendix J - Version 6 Functions Summary
Appendix B - Bibliography Appendix K - UDT / UDF
Appendix C - The Programming Workshop Appendix L - Cast Testing
Appendix D - EXPLAIN PLAN Statement and PLAN_TABLE and DSN_STATEMNT_TABLE Appendix M - Trigger Introduction
Appendix E - Hints to Success Appendix N - DB2 for WINDOWs Overview
Appendix F - SQLCODES / SQLSTATES Appendix Z6- Changes Summary - DB2 V 6
Appendix G - QMF Overview Appendix Z7- Changes Summary - DB2 V 7
Appendix H - Stored Procedures Appendix Z8- Changes Summary - DB2 V 8
Appendix I - "Common" SQL Errors  



Contact Information
WINTRAC INC. - the one stop shopping center for IT training.
16523 S.W. McGwire Ct. Beaverton OR -97007
Phone: (503) 259-0312
Fax: 707-598-2268
Email: sales@wintrac.com

Send mail to webmaster@wintrac.com with questions or comments about this web site.
Copyright © 2008 Wintrac Inc.