Input data stream example

To illustrate an inbound data stream, we assume that an operator using the screen shown in Figure 90 did the following:

Here is the resulting inbound data stream:

Table 29. 3270 input data stream
Bytes Contents Notes
1 X'7D' AID, in this case the ENTER key.
2-3 X'C3C5' Cursor address: line 3, column 38, where the operator left it after the last data keystroke.
4 X'11' SBA, indicating that a buffer address follows.
5-6 X'C26E' Address of line 3, column 15, which is the starting position of the field to follow.
7-12 ‘123456’ Input, the employee number entered by the operator.
13-15 X'11C3D1' SBA sequence indicating a buffer address of line 3, column 32.
16 X'1D' SF, indicating another input field follows.
17-22 ‘ABC987’ Input field: plate number. Notice that only six characters came in from a field that was eight long, because an operator left the remaining positions null.

Note that the third input field (the state code) does not appear in the input data stream. This is because its MDT did not get turned on; it was set off initially, and the operator did not turn it on by keying into the field. Note also that no SF is required at byte 7 because CICS® normally issues a Read Modified All.

[[ Contents Previous Page | Next Page Index ]]