Build, debug, and run a COBOL Db2 application

Learn how to build, debug, and run a COBOL Db2® application.

Learning objectives

Learn how to do the following tasks:
  • Create a database table
  • Prepare and build a Db2 application
  • Debug and run the Db2 application

Time required

This tutorial takes approximately 60 minutes to finish. If you explore other concepts that are related to this tutorial, it can take longer to complete.

Skill level

Advanced

Audience

COBOL Db2 programmers

System requirements

  • Developer for z/OS®
  • Db2 for z/OS

Prerequisites

Before you complete the lessons that are described in this tutorial, you must do the following tasks:
  1. Define and connect to a z/OS system by using the Remote System Explorer.
  2. Create a z/OS project and MVS subproject in the z/OS Projects view.
You must obtain the following information from your database administrator:
  • Location: The name of the database location. You would see this name if you were to look at the entries in the SYSIBM.LOCATIONS table.
  • Host: The IP address of the z/OS system to which you are connecting.
  • Port number: The port that is used for the JDBC connection to the database.