DB2 Stored Procedures

Why take this course?

After completing this course, you will be able to
  • Develop and use DB2 Stored Procedures that access and update DB2 tables
  • Utilize result sets returned from DB2 stored procedures
  • Understand and use the parameters associated with defining DB2 stored procedures
  • Install, test, and debug DB2 stored procedures
  • Use Dynamic SQL in stored procedures
  • Use ODBC to access DB2 tables in stored procedures, and to call DB2 stored procedures
  • Develop DB2 stored procedures in REXX.
2 Days : Fee - $ 1,397.00 (CAD) :  ? Multi-seat - $ 897.00 (CAD)
Thu Apr 21, 2016
Contact us to arrange your preferred location and date
The student will learn how to develop stored procedures in DB2, as well as how to invoke stored procedures from a host-based application
Application developers who need to create or invoke DB2 stored procedures written in COBOL, Assembler, PL/I, C/C++, or REXX
The student should have experience with basic SQL, as well as experience in doing DB2 application development.

Major topics covered

  • DB2 stored procedure architecture
  • Stored Procedure Address Spaces
  • Defining stored procedures
  • Stored procedure catalog tables
  • Writing stored procedures
  • Parameter styles: GENERAL, GENERAL WITH NULLS, and DB2SQL
  • Invoking stored procedures
  • Preparing stored procedures and their invokers for execution
  • DB2 Commands for stored procedures
  • Returning result sets
  • Accessing result sets
  • Dynamic SQL in stored procedures
  • ODBC and stored procedures
  • SQL procedures language
  • Stored procedure builder overview
  • REXX and stored procedures
Copyright © 2014 by Hunter Cobb & Steve Comstock