Making EPI calls from a Java Client program

This section describes how to run a 3270–based program on a CICS® server using EPI calls from a Java™ Client application.

To do this you can use either the EPI support classes, which is the recommended method, or the EPIRequest base class. Table 1 shows Java objects corresponding to the EPI terms described in the following table.

Table 1. EPI terms and corresponding Java objects
EPI term Terminal object:property EpiRequest object.field
Code page Terminal:CCSid EPIRequest.CCSid
Color no equivalent EPIRequest.color
Columns Screen:Width EPIRequest.numColumns
Device type Terminal:Device type EPIRequest.deviceType
Error last line no equivalent EPIRequest.errLastLine
Error message color no equivalent EPIRequest.errColor
Error message highlight no equivalent EPIRequest.errHighlight
Error message intensity no equivalent EPIRequest.errIntensity
Extended highlight no equivalent EPIRequest.highlight
Install timeout Terminal:InstallTimeout EPIRequest.installTimeout
Map name Screen:MapName EPIRequest.mapName
Mapset name Screen:MapsetName EPIRequest.mapSetName
Maximum data no equivalent EPIRequest.maxData
Netname Terminal:Netname EPIRequest.netName
Password Terminal:Password EPIRequest.password
Read timeout Terminal:ReadTimeout EPIRequest.readTimeout
Rows Screen:Depth EPIRequest.numLines
Server name Terminal:ServerName EPIRequest.Server
Sign-on capability Terminal:SignonCapability EPIRequest.signoncapability
SocketConnectTimeout No equivalent EPIRequest:SocketConnectTimeout
Terminal ID Terminal:Termid EPIRequest.termID
Userid Terminal:Userid EPIRequest.userid

Information Information

Feedback


Timestamp icon Last updated: Tuesday, 19 November 2013


https://ut-ilnx-r4.hursley.ibm.com/tg_latest/help/topic/com.ibm.cics.tg.doc//progde/javepi.html