Attachmate Verastream Transaction Integrator Guide


IConnectorAccess Sample Application

This sample (using a CICS host type) illustrates how to create a Java application that sends input to and receives output from your client operation, using XML described by the metadata in your Web Builder-generated task file. The sample application and the files used to create and deploy it are all installed on your computer when you install Transaction Integrator

Sample Files

This sample consists of several different files with different purposes. The purposes of each file are explained in the sections after the list below. The files below can be found in the following location:


Creating the Client Operation and Interface Object

Start by using Transaction Designer to convert the sample COBOL copybook (AMNU.cbl) into a client operation. Open Web Builder and generate an ICA interface object. For this sample, the task file is AMNUtask.xml.

Calling the Interface Object in an Application

The sample Java class takes 3 inputs:

See the comments in the CICSICA.class file for more information. The is where logging options are set. You'll need to edit the user ID and password in the in.xml file to get the application to run.

Related Topics
Bullet Startup and Settings
Bullet Using XML
Bullet Deploying to a Development Environment
Bullet Javadocs for Attachmate Interfaces