| Next >

DB2 basics tutorial: Working with DB2 for z/OS interactively

This tutorial shows you how to use DB2® for z/OS® in the z/OS terminal interface to complete some basic database administration tasks.

Learning objectives

  • Become familiar with working with DB2 in the z/OS terminal interface.
  • Learn how to query and modify data interactively by submitting SQL statements through SPUFI.
  • Learn how to create DB2 tables interactively by using SPUFI.
  • Learn how to run DB2 utilities from the DB2I utilities panel and by submitting JCL jobs.

Audience

This tutorial is intended for new database professionals who have some familiarity with the basic concepts of relational database management systems and the SQL language, but who are new to DB2 for z/OS and the z/OS terminal interface.

Users of this tutorial will be more successful if they are familiar with the following information:

Before you begin

  • Ensure that you have access to a supported version of DB2 and that the DB2 sample tables have been created.
  • Determine the name of the DB2 subsystem that contains the sample tables. This tutorial uses the subsystem name DB2A.
  • Obtain a DB2 authorization ID and password that has appropriate authorities to query the DB2 sample tables and create objects. This tutorial uses the authorization ID TUTOR01.

Conventions used in this tutorial

  • This tutorial uses standard z/OS terminal key names. These keys might be mapped differently on your keyboard. For example, the standard z/OS terminal key name is PF3. In the standard mapping, the PF3 key corresponds to the F3 key on the keyboard; however, the key that you press depends on your keyboard mapping.

    For more information about keyboard mapping in TSO and ISPF, see the following topics:

  • Samples refer to the sample tables that are supplied with DB2 for z/OS.
  • Certain panels, especially outside of DB2I, are likely to be customized at your site and are likely to have different names than the names that are used in this tutorial.

    For example, the "ISPF/PDF Primary Option Menu" is the default name of a panel that is configured during a step of the DB2 for z/OS installation process. This panel might have a different name at your site. If you cannot find the corresponding panels, ask a colleague for help.

.

Modules in this tutorial

Related information

| Next >