Intermec CV30 Intermec Terminal Emulator (ITE) Programmer's Reference Manual - Page 30
Read MDT Fields, Format, Results, Description, Restrictions
View all Intermec CV30 manuals
Add to My Manuals
Save this manual to your list of manuals |
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