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

Read MDT Fields, Format, Results, Description, Restrictions

Page 30 highlights

Chapter 1 - About 3270 and 5250 Programming Format: Results: 04 42 00 13 (Hex) where 00 is the value for CC Byte 1 and 13 is the value for CC Byte 2. Information associated with this command returns to the user in the LU-LU nonexpedited flow. The host system cannot receive this information until the operator presses an AID-generating key. What is received in response to this command depends on the master MDT bit. • If the master MDT bit is not set, the user receives a cursor address (position of the cursor when the AID-generating key was pressed) or an AID code (the code for the AID-generating key the operator used). • The user receives the cursor address and AID code if any of the Clear, Help, Print, or Record Backspace in home position keys are pressed. • If the master MDT bit is on, the user receives the cursor address (position of the cursor when the AID-generating key was pressed), the AID code (code for the AID-generating key the operator used), and field data (returned only when any of the Roll Up, Roll Down, Enter/Rec Adv, or unmasked function AID-generating keys is used --- when returned, the field data consists of the contents of all input fields as they appear on the display unless resequencing was specified). Any attributes in a field are treated as data and returned as such. Field attributes are not considered part of the field. All nulls are converted to blanks. All pending AID request bytes are cleared. If the specified field is signed numeric, the first 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. Though data is not sent, the CC bytes are processed. To determine the appropriate codes for the control character (CC) bytes, see "Write to Display (WTD)" on page 28. The response takes the following form: Bytes 1 and 2 Cursor address Byte 3 AID code Byte 4 Field data Byte 5 Field data Byte 6 and all that follow contain the remaining field data from the format table. The computer returns complete contents of each field, with nulls converted to blanks. Description: Restrictions: Read MDT Fields The Read MDT Fields command causes the computer to wait for the operator to press an active AID-generating key, then sends all fields that have their MDT bit set. The bit could have been set by the operator entering data in the field or by the WTD command. The operator must press an AID-generating key to execute this command. In addition, the CD in the RH for the requested LU must be on before any information can be sent back to the host system in response to the command. The command is cleared if: • A session control request (such as Unbind) is issued by the host. • A Clear Unit command is issued. 18 Intermec Terminal Emulator (ITE) Programmer's Reference Manual

  • 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
18
Intermec Terminal Emulator (ITE) Programmer’s Reference Manual
Format:
04 42 00 13 (Hex)
where 00 is the value for CC Byte 1 and 13 is the value for CC Byte 2.
Results:
Information associated with this command returns to the user in the LU-LU non-
expedited flow. The host system cannot receive this information until the operator
presses an AID-generating key. What is received in response to this command
depends on the master MDT bit.
If the master MDT bit is not set, the user receives a cursor address (position of
the cursor when the AID-generating key was pressed) or an AID code (the code
for the AID-generating key the operator used).
The user receives the cursor address and AID code if any of the Clear, Help, Print,
or Record Backspace in home position keys are pressed.
If the master MDT bit is on, the user receives the cursor address (position of the
cursor when the AID-generating key was pressed), the AID code (code for the
AID-generating key the operator used), and field data (returned only when any of
the Roll Up, Roll Down, Enter/Rec Adv, or unmasked function AID-generating
keys is used --- when returned, the field data consists of the contents of all input
fields as they appear on the display unless resequencing was specified).
Any attributes in a field are treated as data and returned as such. Field attributes are
not considered part of the field. All nulls are converted to blanks. All pending AID
request bytes are cleared. If the specified field is signed numeric, the first 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. Though data is not sent, the CC bytes are processed.
To determine the appropriate codes for the control character (CC) bytes, see
“Write
to Display (WTD)” on page 28.
The response takes the following form:
Byte 6 and all that follow contain the remaining field data from the format table.
The computer returns complete contents of each field, with nulls converted to
blanks.
Read MDT Fields
Description:
The Read MDT Fields command causes the computer to wait for the operator to
press an active AID-generating key, then sends all fields that have their MDT bit set.
The bit could have been set by the operator entering data in the field or by the WTD
command.
Restrictions:
The operator must press an AID-generating key to execute this command. In
addition, the CD in the RH for the requested LU must be on before any information
can be sent back to the host system in response to the command. The command is
cleared if:
A session control request (such as Unbind) is issued by the host.
A Clear Unit command is issued.
Bytes 1 and 2
Byte 3
Byte 4
Byte 5
Cursor address
AID code
Field data
Field data