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

Erase Unprotected to Address (EUA), Insert Cursor (IC), About 3270 and 5250 Programming

Page 20 highlights

Chapter 1 - About 3270 and 5250 Programming Erase Unprotected to Address (EUA) The Erase Unprotected to Address (EUA) order inserts nulls in all unprotected buffer locations, starting at the current buffer address and ending at (but not including) the specified stop address. For the asynchronous data stream, the stop address is specified by address bytes "xxxx" which immediately follow the EUA order in the write data stream. For SNA/SDLC (non-Telnet), the stop address is specified by the two address bytes which immediately follow the EUA in the write data stream. If an invalid stop address is specified (that is, an address outside the range of the computer's display buffer) the following occur in random order: • The write operation is terminated at this point. • The character is not stored. • The computer recognizes this as an error condition and performs a clear memory operation. • The display buffer is set to nulls. • A clear AID character is transmitted to the computer control unit for forwarding to the host computer. When the stop address is lower than the current buffer address, the EUA order wraps from the end of the buffer to the beginning of the buffer and continues. When the stop address equals the current buffer address, all unprotected character locations in the buffer are erased (set to nulls). Insert Cursor (IC) The IC order changes the stored cursor address to the location specified by the current buffer address. The current buffer address does not change. For example, if the IC order is issued when the current buffer address is 320 and the present stored cursor address is 0 (zero), the cursor address changes from 0 to 320. The current buffer address at the end of this operation remains at address 320. If multiple IC orders appear in the write data stream, the last one encountered is used in subsequent operations. If the IC order is placed at a location past the end of display on the computer, the current buffer address will be updated so that the cursor address will be located on the display. At the end of write data stream, after all orders have been executed by the computer and all required data has been entered into the buffer, the stored cursor address determines which unprotected field should be displayed to the user first. The following algorithm is used: 1 The computer searches the buffer backward to find the first protected field attribute before the stored cursor address. Unprotected attributes are not considered. 2 The computer does a forward tab (or equivalent) to an unprotected field. 3 If a protected field attribute is not found before the first location of the display buffer is found (location 0), then an unconditional forward tab equivalent is executed to display the first unprotected field in the buffer. 8 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
8
Intermec Terminal Emulator (ITE) Programmer’s Reference Manual
Erase Unprotected to Address (EUA)
The Erase Unprotected to Address (EUA) order inserts nulls in all unprotected
buffer locations, starting at the current buffer address and ending at (but not
including) the specified stop address. For the asynchronous data stream, the stop
address is specified by address bytes “xxxx” which immediately follow the EUA order
in the write data stream. For SNA/SDLC (non-Telnet), the stop address is specified
by the two address bytes which immediately follow the EUA in the write data stream.
If an invalid stop address is specified (that is, an address outside the range of the
computer’s display buffer) the following occur in random order:
The write operation is terminated at this point.
The character is not stored.
The computer recognizes this as an error condition and performs a clear
memory operation.
The display buffer is set to nulls.
A clear AID character is transmitted to the computer control unit for forwarding
to the host computer.
When the stop address is lower than the current buffer address, the EUA order wraps
from the end of the buffer to the beginning of the buffer and continues. When the
stop address equals the current buffer address, all unprotected character locations
in the buffer are erased (set to nulls).
Insert Cursor (IC)
The IC order changes the stored cursor address to the location specified by the
current buffer address. The current buffer address does not change.
For example, if the
IC order is issued when the current buffer address is 320 and the
present stored cursor address is 0 (zero), the cursor address changes from 0 to 320.
The current buffer address at the end of this operation remains at address 320. If
multiple IC orders appear in the write data stream, the last one encountered is used
in subsequent operations.
If the IC order is placed at a location past the end of display on the computer, the
current buffer address will be updated so that the cursor address will be located on
the display.
At the end of write data stream, after all orders have been executed by the computer
and all required data has been entered into the buffer, the stored cursor address
determines which unprotected field should be displayed to the user first.
The following algorithm is used:
1
The computer searches the buffer backward to find the first protected field
attribute before the stored cursor address. Unprotected attributes are not
considered.
2
The computer does a forward tab (or equivalent) to an unprotected field.
3
If a protected field attribute is not found before the first location of the display
buffer is found (location 0), then an unconditional forward tab equivalent is
executed to display the first unprotected field in the buffer.