- 6 hours
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 can be created.
Programmers and DBAs requiring training in writing application programs to reference and update Db2 data, particularly in the mainframe environment.
Completion of the courses ‘Manage Data Definitions with Db2' and ‘Manage Data with Db2 - SQL', and basic knowledge of Db2, relational databases, and system design.
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
Steps Required to Prepare an Application Program with Embedded SQL for Execution
Codes Returned from Db2 to an Application Program
Host Variables that Pass Values between an Application Program and Db2
The Scrollable Cursor
Commit Points and their Effect on Cursor
Db2 Rollbacks and How to Force One
Build a Program That Issues Simple SQL Statements to Db2
Writing a Db2 COBOL Program by Using a Cursor
Writing a Db2 COBOL Update Program by Using a Cursor