EWAY Adapter for Vsam USER’S Guide
Part Number Version
Contents
Setting Properties of the Vsam eWay
Transaction Support Levels Between Different Versions
Creating an Environment Configuring the eWays
Delete Operations
Activity Input and Output
Prepared Statement Batch Operations
Creating the Collaboration Definitions Java
Create the Collaboration Business Rules
About Vsam
What’s in This Chapter
About the Vsam eWay
What’s New in This Release
EWay Operation
New for Version
About This Document
Vsam eWay Javadoc
Related Documents
Scope
Intended Audience
Text Conventions
Sun Microsystems, Inc. Web Site
Documentation Feedback
Installing the Vsam eWay
Installing the Vsam eWay
Installing the Vsam eWay on an eGate supported system
Installing Third-Party Products
After Installation
Extracting the Sample Projects and Javadocs
Copying JAR files to the eDesigner Library
Ican 5.0 Project Migration Procedures
Install Java Caps
Steps to extract the Sample Projects include
Export the Project
Installing Enterprise Manager eWay Plug-Ins
Deploy the Project
To add plug-ins from the Enterprise Manager
Viewing Alert Codes
To View the eWay Alert Codes
Alert Codes for the Vsam eWay
Alert Code\Description Description Details User Actions
Aduncommitted
Creating and Configuring a Vsam eWay
Configuring the eWay Connectivity Map Properties
To configure the eWay properties
Connectivity Map with Components
Transaction Support Levels Between Different Versions
Outbound eWay Properties
Configuring the eWay Environment Properties
To Configure the Environment Properties
Vsam eWay Environment Configuration
EWay Connectivity Map Properties
Connectivity Map Outbound CP eWay Properties
Outbound eWay-JDBC Connector Settings
Connectivity Map Outbound non-Transactional eWay Properties
Inbound Vsam eWay-Parameter Settings
EWay Environment Properties
Inbound Vsam eWay Properties
Outbound Vsam CP eWay Properties
Vsam CP eWay-JDBC Connector Settings
Jdbc Connector Settings
Is Vsam Connection Pool Datasource
Method-name-1#param
#param-2#.........param
##method-name-2#param
#param-2#........param
Connection Retry Settings
Vsam CP eWay-Connection Retry Settings
Vsam non-Transactional eWay-JDBC Connector Settings
Outbound Vsam non-Transactional eWay Properties
Is Vsam non-Transactional
Connection Pool Datasource
Method-name-1#param
Vsam non-Transactional eWay-Connection Retry Settings
Vsam non-Transactional eWay-Connection Retry Settings
About the Database OTD Wizard
Creating a New Vsam OTD
Select Wizard Type
Connect To Database
Required Database Connection Fields include
Select Database Objects
Steps Required to Select Database Objects Include
Select Tables/Views/Aliases
Steps Required to Select Table and Views Include
Select Tables/Views/Aliases
Database Wizard All Schemes
Selected Tables/Views/Aliases window with a table selected
Add Prepared Statement
Table/View Columns
Steps Required to Add Prepared Statements Include
Prepared Statement
Prepared SQL Statement
Specify the OTD Name
Steps Required to Specify the OTD Name
Review Selections
Steps Required to Review Your OTD Selections
Resulting OTD
Database Wizard Summary
Steps to Edit an Existing Vsam OTD
Steps to Edit the OTD from the Enterprise Designer Include
Vsam eWay Adapter User’s Guide Sun Microsystems, Inc
Overview
Using Tables
User-defined OTD
Using the select Method
To call a method in the Collaboration Editor Java
Update Operations
Select Operations
Insert Operations
Delete Operations
Using Prepared Statements
Using Views
To use a prepared statement in a Collaboration Java
Vsam eWay Database Operations Bpel
Activity Input and Output
Vsam Operations
EInsight Operation Activity Input Activity Output
Vsam eWay Database Operations JCD
Query Select Operation
To perform a query operation on a table
Insert Operation
OtdVSAM1.getCICSEMP.insertRow
Update Operation
Delete Operation
Prepared Statement
Batch Operations
Chapter Section Using Vsam Operations
Implementing the Vsam eWay Sample Projects
About the Vsam eWay Sample Projects
Operations Used in the Vsam Sample Projects
Sample input files include
Sample output JCD files include
Sample output Bpel files include
Assigning Operations in JCD
About the eInsight Engine and eGate Components
Assigning Operations in Bpel
Running the Sample Projects
Running the SQL Script
Importing a Sample Project
Building and Deploying the prjVSAMBPEL Sample Project
Creating the OTDs
Creating a Project
Steps required to create a Vsam Database OTD include
Creating the Business Process
Creating the Business Process Flow
Steps required to create inbound and outbound DTD OTDs
Steps to create a business process flow include
Business Process Activities
Configuring the bpInsert Modeling Elements
Business Process Activity
BpInsert Business Process
Steps required to configure the bpInsert business process
BpInsert Business Rule #
BpInsert Business Rule #
Configuring the bpUpdate Modeling Elements
BpUpdate Business Process
Steps required to configure the bpUpdate business process
Configuring the bpDelete Modeling Elements
Steps required to configure the bpDelete business process
BpDelete Business Process
Configuring the bpTableSelect Modeling Elements
BpTableSelect Business Process
BpTableSelect Business Rule #
BpSelectTable Business Rule #
Configuring the bpPsSelect Modeling Elements
Steps required to configure the bpPsSelect business process
BpPsSelect Business Rule #
Case 1 Scope Business Rule #
Activities within Case 2 Scope
Populating the Connectivity Map
Creating the Connectivity Map
Steps required to create the Connectivity Map
Binding the eWay Components
To Select a Vsam External System
To Select a Vsam Business Process
Steps required to bind eWay components together
Creating an Environment
Steps required to create an Environment
Configuring the eWays
Environment Editor envVSAMProj
Configuring the eWay Properties
Steps required to configure the eWay properties
FileClientIN eWay Property Settings
FileClientOUT eWay Property Settings
File eWay Environment Properties
Configuring the Environment Explorer Properties
Section Property Name Required Values
Creating the Deployment Profile
Configuring the Integration Server
Steps required to create the Deployment Profile
Creating and Starting the Domain
Steps required to create and start the domain
Building and Deploying the Project
Running the Sample Project
Build the Project
Steps required to run the sample Project
Building and Deploying the prjVSAMJCD Sample Project
Steps required to create a Vsam Database OTD
Creating a Connectivity Map
Steps required to create a new Connectivity Map
Creating the Collaboration Definitions Java
Steps required to select a Vsam External System
JcdDelete Collaboration
JcdInsert Collaboration
Steps required to create the jcdDelete Collaboration
Steps required to create the jcdInsert Collaboration
JcdPsSelect Collaboration
JcdTableSelect Collaboration
Steps required to create the jcdPsSelect Collaboration
Steps required to create the jcdTableSelect Collaboration
JcdUpdate Collaboration
Steps required to create the jcdUpdate Collaboration
Create the Collaboration Business Rules
Creating the jcdDelete Business Rules
Creating the jcdInsert Business Rules
Sample code from the jcdInsert Includes
Creating the jcdPsSelect Business Rules