Chapter 7
Section 7.5
Implementing the VSAM eWay Sample Projects
Building and Deploying the prjVSAM_BPEL Sample Project
VSAM eWay Adapter User’s Guide
66
Sun Microsystems, Inc.
7.5.1
Creating a Project
The first step is to create a new Project in the Enterprise Designer.
1
Start the Enterprise Designer.
2
From the Project Explorer tree, right-click the Repository and select
New
Project
. A
new
Project (
Project1
) appears on the Project Explorer tree.
3
Right-click
Project1
and select rename from the shortcut menu. Rename the Project
(for this sample,
prjVSAM_BPEL
).
7.5.2
Creating the OTDs
The sample Project requires three OTDs to interact with the VSAM eWay. These OTDs
include:
VSAM Database OTD
Inbound DTD OTD
Outbound DTD OTD
Steps required to create a VSAM Database OTD include:
1
Right-click your new Project in the Enterprise Designer’s Project Explorer, and
select
New
>
Object Type Definition
.
The New Object Type Definition Wizard window appears.
2
Select the
VSAM Database OTD Wizard
from the list of OTD Wizards and click
Next
.
3
Enter the connection information for the VSAM database. Connection fields
include:
Host name:
Port ID:
Database Name:
User name:
Password:
4
Click
Next
, and select the types of database object you want to include in the
sample Project. For this example, select the following:
Tables/Views/Aliases
Prepared Statements
5
Click
Add
to select tables from the VSAM database. The
Add Tables
window
appears.
6
Search for or type in the name of the database. In this example we use the
CICSEMP
table. Click
Select
when the database appears in the Results selection
frame. Click
OK
to close the Add Tables window
7
Click
Next the Add Prepared Statements Wizard appears.