Display Data Stream—Chapter 6
279TE 2000
5250 Terminal Emulation Programmer’s Guide
Results
If the WTD command changes the format table, the keyboard remains
locked until specifically unlocked by CC Byte 1 or a subsequent WTD
command.
Seethefollowingtabletodeterminetheappropriatecommandforyour
particular combination of needs. To select a command, check the body of
the table for the row showing the desired combination of conditions. Then
refer to the left-most column to find the corresponding hex code.
Write to Display Control Byte 1
Clear Master MDT
and Reset MDT Flags
Null All Appropriate
Nonbypass Fields
Hex Code Reset Pending AID, Lock Keyboard
Nonbypass
Fields
All
Field with
MDT On
All
00
20 X
40 XX
60 X X
80 XX
A0 X X X
C0 XXX
E0 X X X
Below are the bit positions for CC Byte 2. The most significant bit is 7;
the least significant bit is 0. Invalid orders or no data, orders, or CC fol-
lowing the command byte cause parameter errors:
Bit Description
7 Always 00
6 0 = Cursor moves to default or IC order position when keyboard unlocks.
* 1 = Cursor does not move when keyboard unlocks.
5 0=Noaction;1=Resetblinkingcursor
4 0=Noaction;1=Setblinkingcursor(ifresetbitalso=1)
3 0=Noaction;1=Unlockkeyboard,resetpendingAIDbytes
2 0=Noaction;1=Soundalarm
1 0 = No action; 1 = Reset Message Waiting annunciator
0 0 = No action; 1 = Set Message Waiting annunciator (even if bit 5 is s e t to 1)
*Exception:WhenaWTD is rece ived with the keyboard unlocked and the WTD does not
modify the ke yboa rd state.