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

Data Stream Format, Write Control Character

Page 17 highlights

Chapter 1 - About 3270 and 5250 Programming During the write operation, the buffer address advances one location as each character is stored. If the SBA order does not immediately follow the WCC command, computers will write data from the first buffer location. Write Control Character Bits 0, 1, and 2 of the WCC cause action in the computer. The WCC byte is formatted as follows: WCC Byte Format Bit Format Description 0 Reset MDT bits When set to 1, all MDT bits in the selected buffer are reset before any data is written or orders are executed. 1 Keyboard restore bit When set to 1, the computer allows input. Stations lock out all data when sending data to the host and does not accept input until receiving a command with this bit set. 2 Sound alarm bit When set to 1, selected computers emit three short beeps after operation. 3-7 Unused ("do not care") bits. Note: Bit numbers are in the opposite order of those described in the IBM 3270 Information Display System Component Description manual. The computer ignores all WCC bits defined as "unused." Only the three least significant bits of the WCC byte cause action in the computer. These are converted to ASCII characters. For a binary-to-ASCII conversion table, see "Decimal and Hexadecimal Values" on page 147. Orders and buffer data follow the WCC. Data characters are any of the displayable ASCII characters in the range hexadecimal 20 through 7E. They define the character content of a protected or unprotected field. Buffer data characters may be written into any specific location of the buffer without erasing or modifying the data in other buffer locations. Data characters are stored in successive buffer locations until an order alters the buffer address, or until all data is entered. During the write operation, the buffer address is advanced one location as each character is stored. If the Set Buffer Address order does not immediately follow WCC, the computer writes data from the first buffer location. 3270 Data Stream Format Syntax: The 3270 data stream computer command format is an asynchronous format that an asynchronous host uses to send data to the computer. WtDxyz where: • t is the computer number or network address. • x is the data stream command: Intermec Terminal Emulator (ITE) Programmer's Reference Manual 5

  • 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
5
During the write operation, the buffer address advances one location as each
character is stored. If the SBA order does not immediately follow the WCC
command, computers will write data from the first buffer location.
Write Control Character
Bits 0, 1, and 2 of the WCC cause action in the computer. The WCC byte is
formatted as follows:
The computer ignores all WCC bits defined as “unused.” Only the three least
significant bits of the WCC byte cause action in the computer. These are converted
to ASCII characters. For a binary-to-ASCII conversion table, see
“Decimal and
Hexadecimal Values” on page 147.
Orders and buffer data follow the WCC. Data characters are any of the displayable
ASCII characters in the range hexadecimal 20 through 7E. They define the character
content of a protected or unprotected field.
Buffer data characters may be written into any specific location of the buffer
without erasing or modifying the data in other buffer locations. Data characters are
stored in successive buffer locations until an order alters the buffer address, or until
all data is entered.
During the write operation, the buffer address is advanced one location as each
character is stored. If the Set Buffer Address order does not immediately follow
WCC, the computer writes data from the first buffer location.
3270 Data Stream Format
The 3270 data stream computer command format is an asynchronous format that
an asynchronous host uses to send data to the computer.
Syntax:
W
t
D
xyz
<CR>
where:
t
is the computer number or network address.
x
is the data stream command:
WCC Byte Format
Bit
Format
Description
0
Reset MDT bits
When set to 1, all MDT bits in the selected buffer are reset
before any data is written or orders are executed.
1
Keyboard restore bit
When set to 1, the computer allows input. Stations lock out
all data when sending data to the host and does not accept
input until receiving a command with this bit set.
2
Sound alarm bit
When set to 1, selected computers emit three short beeps
after operation.
3-7
Unused (“do not care”) bits.
Note
: Bit numbers are in the opposite order of those described in the
IBM 3270
Information Display System Component Description
manual.