Attachmate Verastream Transaction Integrator Guide

 

ITask Sample Application

This sample illustrates how to create a Java application that sends input to and receives output from your client operation, using a bean generated by Web Builder and a CICS host type. 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

Use the designer to convert the sample COBOL copybook (AMNU.cbl) into a client operation. Open Web Builder and generate an ITask interface object.

Calling the Task in an Application

This sample application uses the definition of task AMNU defined in the task file, and passes input values to the runtime server, and returns values written to OutputFromHost.txt.

See the comments in the AMNUtask.java file for more information. You'll need to edit the user ID and password in the run.bat file to get the interface object to run.

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