Introduction

In the tutorial called Build a Web user interface for an RPG application using iSeries(TM) Web Tools, you learned how to create an e-business RPG customer inquiry application. When you ran your Web RPG application a 'new' Web customer inquiry page opened in the workbench Web browser. You then entered a customer number and clicked the submit button. The customer details from a DB2/400 database appeared in the workbench Web browser.

This tutorial teaches you how to display a list of customers, display the details for each selected customer and then update selected customer information. You will learn how to use Page Designer to create a new customer list input page from a subfile. You will then learn how to link this new page to the customer inquiry page that you built in the previous tutorial. Then you will learn how to create new output pages (update record and update complete) using the Web Interaction wizard. You will also learn how to link these pages using the Web Interaction wizard. Finally you will learn how to test your new and updated input and output pages in your existing e-business RPG customer inquiry application.

Prerequisites

In order to complete this tutorial end to end, you should already have completed the tutorial called Build a Web user interface for an RPG application using iSeries Web Tools and have working knowledge of the following:

It is also useful, but not necessary, for you to have basic knowledge of the following:

The file(s) required for this tutorial are available for download at http://ibm.com/software/awdtools/wdt400/library.

Time required

To complete the modules of this tutorial, you will need approximately 1 hour and 40 minutes.

Learning objectives

This tutorial is divided into six modules, each with its own learning objectives. You can choose to complete one or all of the modules. Each module contains several exercises that must be completed in order for the tutorial to work properly.

Module 1. Reviewing the existing RPG e-business application teaches you about the completed customer inquiry application that you built in the tutorial called Build a Web user interface for an RPG application using iSeries Web Tools. You will then see how this application changes with the updates you will make working through this tutorial. In this module you will:

Module 2. Creating the iSeries service program for your Web application teaches you how to select the RPG service program to handle the Web Interaction shown in Module 1. Reviewing the existing RPG e-business application. In this module, you will:

Module 3. Creating the customer list input page teaches you how to use Page Designer to create a Web input page of a subfile. This new input page will pass the customer number back to the inquiry page. You will also learn how to modify the inquiry page by adding a link (Find) that will open the customer list page. In this module, you will:

Module 4. Creating the update record output page teaches you how to create an output page using the Web Interaction wizard. This is the page that shows the customer information you can update. In this module, you will:

Module 5. Creating the update complete output page teaches you how to create another output page using the Web Interaction wizard. This is the page that shows the customer record was updated on the iSeries. In this module, you will:

Module 6. Running the Web application teaches you how to run the updated Web application in the WebSphere(R) Test Environment. In this module, you will:

When you are ready, begin Module 1. Reviewing the existing RPG e-business application.