Chapter 7
Section 7.6
Implementing the VSAM eWay Sample Projects
Building and Deploying the prjVSAM_JCD Sample Project
VSAM eWay Adapter User’s Guide
99
Sun Microsystems, Inc.
Figure 55
jcdDelete Business Rules
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.
Figure 56
jcdInsert Business Rules
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;