Lesson 1.1: Querying data interactively
One of the most basic database tasks is to query the data that the database contains.
Even if you are new to DB2 for z/OS, you might
already know how to query data in other databases. In fact, you can use many different methods and
tools to access data that is stored in DB2 for z/OS databases, including tools that provide
modern graphical user-interfaces. However, this lesson provides an opportunity for you learn how to
query data by using the commands and menus of the panel-based SPUFI facility in the z/OS terminal interface.
Lesson 1.2: Creating a table
You can create tables and other database objects interactively by issuing SQL statements
from SPUFI. In this lesson, you will create a new table that has the same format and contains the
same data as the sample EMP table that you queried in the previous lesson. In the next lesson, you
can modify data in the new table that you created, without making any changes to the original sample
data.
Lesson 1.3: Modifying data interactively
Just as you can query data in DB2 tables and to create database objects by issuing SQL statements in SPUFI, you can also insert, update, and delete data in DB2 tables. In this lesson, you will add a row for a new employee to the MY_EMP table that you created in the previous lesson, modify a value in the row, and finally delete the new row. Along the way, you will learn how to verify the result of each of the actions, all by using SPUFI.