Attachmate Verastream Transaction Integrator Guide


COM Interface Sample Application

This sample illustrates how to create an application that sends input to and receives output from your Transaction Integrator client application, using XML described by the metadata in your Web Builder-generated task file and a CICS host program. 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:

install_directory/Attachmate/Verastream/TransactionIntegrator /CICSClient/samples/AMNU/

Preparing the Task

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

Calling the Task in an Application

This sample application uses the definition of task AMNU defined in the task file, and passes input XML (provided in the run.bat file) through the IConnectorAccess API to access the runtime server. The header files are used at compile time to define the interface.

See the comments in the CICSCOMClient.cpp file for more information. You'll need to edit the user ID and password in the run.bat file to get the task to run.

Related Topics
Bullet Startup and Settings
Bullet Native Win32 Technologies
Bullet Deploying to a Development Environment