
Course Description

3 to 4 hours
Programmers and DBAs requiring training in writing application programs to reference and update DB2 UDB data, particularly in the mainframe environment
Completion of the courses Manage Data Definitions with DB2 UDB and Manage Data with DB2 UDB SQL, and basic knowledge of DB2 UDB, relational databases, and system design
After completing this course, the student will be able to identify how the following programs are written with DB2 UDB:
• 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 Cursor
The Scrollable Cursor
Commit Points and their Effect On Cursor
DB2 Rollbacks and How to Force One
Save Points
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