Making EPI calls from C and COBOL programs

This section describes how to run a 3270-based program on a CICS® server using EPI calls from a local 32-bit C or COBOL application. The EPI C interface can be used only in local mode.

The following table shows the field names in C and COBOL data structures that correspond to the terminal attributes described in Terminal characteristics.
Table 1. C and COBOL field names corresponding to terminal attributes
EPI term C structure.field COBOL structure.field
Code page CICS_EpiAttributes_t.CCSId CICS-EPIATTRIBUTES.CCSID
Color CICS_EpiDetails_t.Color CICS-EPIDETAILS.COLOR
Columns CICS_EpiDetails_t.NumColumns CICS-EPIDETAILS.NUMCOLUMNS
Device type CICS_EpiAddTerminal(,,,DevType,,,,) CICSEPIADDTERMINAL.(,,,DEVTYPE,,,,)
Error last line CICS_EpiDetails_t.ErrLastLine CICS-EPIDETAILS.ERRLASTLINE
Error message color CICS_EpiDetails_t.ErrColor CICS-EPIDETAILS.ERRCOLOR
Error message highlight CICS_EpiDetails_t.ErrHilight CICS-EPIDETAILS.ERRHILIGHT
Error message intensity CICS_EpiDetails_t.ErrIntensity CICS-EPIDETAILS.ERRINTENSITY
Extended highlight CICS_EpiDetails_t.Hilight CICS-EPIDETAILS.HILIGHT
Install timeout CICS_EpiAttributes_t.InstallTimeOut CICS-EPIATTRIBUTES.INSTALLTIMEOUT
Map name CICS_EpiEventData_t.MapName CICS-EPIEVENTDATA.MAPNAME
Map set name CICS_EpiEventData_t.MapSetName CICS-EPIEVENTDATA.MAPSETNAME
Maximum data CICS_EpiDetails_t.MaxData CICS-EPIDETAILS.MAXDATA
Netname CICS_EpiDetails_t.NetName CICS-EPIDETAILS.NETNAME
Password CICS_EpiAttributes_t.Password CICS-EPIATTRIBUTES.EPI-PASSWORD
Read timeout CICS_EpiAttributes_t.ReadTimeOut CICS-EPIATTRIBUTES.READTIMEOUT
Rows CICS_EpiDetails_t.NumLines CICS-EPIDETAILS.NUMLINES
Server name CICS_EpiDetails_t.System CICS-EPIDETAILS.SYSTEM
Sign-on capability CICS_EpiAttributes_t.SignonCapability CICS-EPIATTRIBUTES.SIGNONCAP
Terminal ID CICS_EpiDetails_t.Termid CICS-EPIDETAILS.TERMID
User ID CICS_EpiAttributes_t.Userid CICS-EPIATTRIBUTES.EPI-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/mapiz.html