Calling Link3270 using ECI
The interface is the standard ECI interface, passing the ECIPARMS parameter list.
This should contain the following specific fields:
| parameter | value |
|---|---|
| eci_call_type | synchronous or asynchronous |
| eci_program_name | DFHL3270 |
| eci_userid | Userid for security validation. The user transaction runs with this userid |
| eci_password | Password or Passticket for security validation |
| eci_tpn | User transaction name |
| eci_commarea | Address of the Link3270 message |
| eci_commarea_length | Length of the Link3270 message |
The other fields are set according to normal ECI programming. See ECI over TCP/IP for more information about the using the ECI interface.
The return code from the ECI call indicates whether the request was accepted by CICS® . A return code of ECI_NO_ERROR does not imply that the transaction ran successfully. It implies that the transmission of the message was successful. The client application should look in the returned bridge header (BRIH) for the return code and abendcode. See Link3270 diagnostics for a full description of the return codes from the Link3270 call.