WA1337 DB2 for OS390 Application Programming
This workshop is designed to provide instruction on COBOL programming using DB2 for OS/390. Hands-on practice with DB2 will be included, in order to reinforce the concepts and techniques studied in the course. Performance improving techniques will be discussed and the output from the DB2 optimizer will be analysed, using the EXPLAIN facility.
Objectives:
After completing this course the student should be able to:
  • embed SQL commands into a batch COBOL program to read data from tables and also update DB2 tables.
  • code a program to use an SQL "cursor processing" technique.
  • Prepare a program for execution.
  • execute and test a batch program
  • use EXPLAIN to analyse SQL commands.
  • know the locking strategies available with DB2.
  • understand the basic features and options available when using DB2 packages and plans.
  • be familiar with several DB2 objects and the operating environment.
Target Audience:
Programmers and programmer/analysts.
Prerequisite:
  • COBOL programming experience.
  • Previous experience or classroom instruction in SQL.
Format:
Lecture with hands-on workshops.
Duration:
Two days.
Schedule:
  • Day 1
    • Preview (optional)
    • SQL in PROGRAMS
    • LAB preparation and LAB #0
    • Error Handling
    • LAB 1, workshop #1
  • Day 2
    • Program Preparation
    • DB2 Security
    • LAB 1, workshop #2
    • DB2 Objects
    • DB2 Locking
    • Query Analysis using EXPLAIN
    • LAB 2 - optional
Schedule this course
Download this page as a word document