Creating The Jcdinsert Business Rules - Sun Microsystems SUN SEEBEYOND eWAY User Manual

Adapter for vsam 5.1.3
Table of Contents

Advertisement

Chapter 7
Implementing the VSAM eWay Sample Projects

Creating the jcdInsert Business Rules

The jcdInsert Collaboration implements the Input Web Service Operation to read the
TriggerInsert.in. file. It then unmarshals data from the input data into the
otdInputDTD_CICSEMP OTD, calls the otdVSAM OTD, and inserts records into the
database via a For Loop. The Collaboration also writes a message to
JCD_Insert_output0.dat to confirm an inserted record.
The jcdInsert Collaboration contains the Business Rules displayed in Figure 56.
Sample code from the jcdInsert Includes:
package prjVSAM_JCDjcdALL;
public class jcdInsert
{
public com.stc.codegen.logger.Logger logger;
public com.stc.codegen.alerter.Alerter alerter;
public com.stc.codegen.util.CollaborationContext collabContext;
VSAM eWay Adapter User's Guide
Figure 55 jcdDelete Business Rules
Figure 56 jcdInsert Business Rules
99
Building and Deploying the prjVSAM_JCD Sample Project
Section 7.6
Sun Microsystems, Inc.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sun seebeyond eway 5.1.3

Table of Contents