Making ECI calls from a Java client program
This section describes how to run a program on a CICS® server using ECI calls from a Java™ client application.
Use the com.ibm.ctg.client.ECIRequest base class and the JavaGateway flow method to pass details of an ECI request to CICS Transaction Gateway. The following table shows Java objects corresponding to the ECI terms described in I/O parameters on ECI calls.
ECI term | Java object.field or object.method() |
---|---|
Abend code | ECIRequest.Abend_Code |
Channel | ECIRequest.setChannel(channel) |
COMMAREA | ECIRequest.Commarea |
ECI timeout | ECIRequest.setECITimeout(short) |
LUW control | ECIRequest.Extend_Mode See Program link calls. |
LUW identifier | ECIRequest.Luw_Token |
Message qualifier | ECIRequest.getMessageQualifier() and ECIRequest.setMessageQualifier() |
Password or password phrase | ECIRequest.Password See Security in the ECI. |
Program name | ECIRequest.Program |
Server name | ECIRequest.Server |
TPNName | ECIRequest.Call_Type = ECI_SYNC_TPN or ECI_ASYNC_TPN and ECIRequest.Transid |
TranName | ECIRequest.Call_Type = ECI_SYNC or ECI_ASYNC and ECIRequest.Transid |
User ID | ECIRequest.Userid See Security in the ECI. |