Attention identifier constants list (DFHAID)

The standard attention identifier list, DFHAID, simplifies the testing of the contents of the EIBAID field after a Basic Mapping Support (BMS) or terminal control input operation. The following table shows the symbolic name for each attention identifier (AID) value and the corresponding 3270 function.

You can get the standard attention identifier list by including the DFHAID copybook in your application program:

For COBOL users, it consists of an 01 statement and a set of 02 statements that must be copied into the working storage section, as follows:
COPY DFHAID
For C or C++ users, it consists of a series of defined constants that are included in the application program as follows:
 #include <dfhaid.h>
For PL/I users, it consists of DECLARE statements defining elementary character variables as follows:
%include DFHAID
Table 1. Standard DFHAID
Constant Meaning
DFHENTER ENTER key
DFHCLEAR CLEAR key
DFHNULL NULL value
DFHPA1 - DFHPA3 PA1 - PA3 keys
DFHPF1 - DFHPF24 PF1 - PF24 keys
DFHOPID (see note) OPERID
DFHMSRE (see note) Extended (standard) MSR
DFHTRIG (see note) Trigger field
DFHPEN (see note) CURSOR SELECT key
DFHCLRP (see note) CLEAR PARTITION key
DFHSTRF (see note) Structured field pseudo-AID
Note: DFHOPID, DFHMSRE, DFHTRIG, DFHPEN, DFHCLRP, and DFHSTRF are ignored on TXSeries for Multiplatforms, but can be used for transaction routing.