Intermec CV30 Intermec Terminal Emulator (ITE) Programmer's Reference Manual - Page 31

Format, Set Buffer Address, Results, Roll Down/ Up, Enter/Rec Adv

Page 31 highlights

Chapter 1 - About 3270 and 5250 Programming Format: • The host system sends another Read command to the same LU and overlays this command. • The Read command is serviced. The Read MDT Fields command is formatted as follows: ESC Hex 04 Read MDT Fields CC Byte 1 CC Byte 2 Hex 52 Hex 00 Hex 13 The returned data is formatted as follows: Bytes 1 and 2 Byte 3 Byte 4 Byte 5 Byte 6 Cursor address AID code {SBA Field address Field data} Note: The {} brackets around the last three fields (Bytes 4 through 6) indicate these fields may repeat as a unit. Results: The cursor address gives the cursor location on the display. The SBA fields are formatted as Set Buffer Address orders. The field address comes from the address portion of the order and gives the address of the modified field (excluding the attribute). The contents of each field that has an MDT bit on are returned to the host system in the order that the fields appear in the format table, if one of the Roll Up/Page Down, Roll Down/Page Up, Enter/Rec Adv, or unmasked function AID-generating keys is used. If no MDT bits are on, or if the operator does not use one of the acceptable AIDgenerating keys (Clear, Help, Print, or Record Backspace), only the cursor and AID code are returned to the host system. The host system can use field control words (FCWs) to rearrange the sequence in which the fields are returned. If data is returned, the following formatting is done. If the field is not a transparent data field, this occurs: • Trailing nulls are stripped. If the field consists of all nulls, only the Set Buffer Address, row, and column are returned, and leading and embedded nulls are converted to blanks. If signed numeric, the last character is not sent. If that same field is negative, the zone position of the next-to-the-last character is changed to hex D. Hex 10 and hex 11 are control data. Avoid writing hex 10 and hex 11 to the display as data unless written in transparent data fields. Intermec Terminal Emulator (ITE) Programmer's Reference Manual 19

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165
  • 166
  • 167
  • 168
  • 169
  • 170
  • 171
  • 172
  • 173
  • 174
  • 175
  • 176
  • 177
  • 178
  • 179
  • 180
  • 181
  • 182
  • 183
  • 184

Chapter 1 — About 3270 and 5250 Programming
Intermec Terminal Emulator (ITE) Programmer’s Reference Manual
19
The host system sends another Read command to the same LU and overlays this
command.
The Read command is serviced.
Format:
The Read MDT Fields command is formatted as follows:
The returned data is formatted as follows:
The cursor address gives the cursor location on the display. The SBA fields are
formatted as
Set Buffer Address
orders. The field address comes from the address
portion of the order and gives the address of the modified field (excluding the
attribute).
Results:
The contents of each field that has an MDT bit on are returned to the host system in
the order that the fields appear in the format table, if one of the Roll Up/Page Down,
Roll Down/Page Up, Enter/Rec Adv, or unmasked function AID-generating keys is
used.
If no MDT bits are on, or if the operator does not use one of the acceptable AID-
generating keys (Clear, Help, Print, or Record Backspace), only the cursor and AID
code are returned to the host system.
The host system can use field control words (FCWs) to rearrange the sequence in
which the fields are returned. If data is returned, the following formatting is done. If
the field is not a transparent data field, this occurs:
Trailing nulls are stripped. If the field consists of all nulls, only the Set Buffer
Address, row, and column are returned, and leading and embedded nulls are
converted to blanks.
If signed numeric, the last character is not sent. If that same field is negative, the
zone position of the next-to-the-last character is changed to hex D. Hex 10 and hex
11 are control data. Avoid writing hex 10 and hex 11 to the display as data unless
written in transparent data fields.
ESC
Read MDT Fields
CC Byte 1
CC Byte 2
Hex 04
Hex 52
Hex 00
Hex 13
Bytes 1 and 2
Byte 3
Byte 4
Byte 5
Byte 6
Cursor address
AID code
{SBA
Field address
Field data}
Note:
The {} brackets around the last three fields (Bytes 4 through 6) indicate these
fields may repeat as a unit.