EIB feedback on terminal control operations
CICS® reports the results of processing terminal control commands, including those generated by BMS, in the EIB.
Because of the complexity of terminal operations, many EIB fields are specific to terminal commands. Those that apply to the principal facility are listed in Table 1 . (Other fields relate only to LU type 6.1, APPC and MRO operations; see CICS command summary for programming information about these.)
EIB fields are posted when CICS returns control to your task, and they always describe the most recent command to which they apply. This means that if you are conducting program-to-program communication over an alternate facility and using your principal facility, you need to check the EIB before results from one overlay those of the other.
It also means that when a task is initiated by unsolicited input from the terminal, or by a RETURN IMMEDIATE in the previous task at the same terminal, the EIB fields that describe the input are not set at task start. You must issue a RECEIVE to gain access to the input and post the EIB fields.
Here are the fields that apply to the principal facility:
| Field | Contents |
|---|---|
| EIBAID | The attention identifier (AID) from the last input operation (3270s only, see the AID in Input from a 3270 terminal). |
| EIBATT | Whether the input contains attach header data (an attach FMH) |
| EIBCOMPL | Whether the RECEIVE command just issued used all the input data, or more RECEIVEs are required (see Chaining output data). |
| EIBCPOSN | Cursor position at time of last input operation (3270s only) |
| EIBEOC | Whether an end-of-chain indicator appeared in the input from the last RECEIVE |
| EIBFMH | Whether user data just received or retrieved contains an FMH |
| EIBFREE | Whether the facility just used has been freed |
| EIBRCODE, |
CICS response code values from the previously
issued command
Note: For output commands in which transmission can
be deferred, these values reflect only the initial CICS processing
of the command, not the eventual transmission (see
Terminal waits).
|
| EIBSIG | Whether the terminal has sent a SIGNAL |
| EIBTRMID | (CICS) identifier of the terminal |