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

Set Buffer Address (SBA), Start Field (SF

Page 22 highlights

Chapter 1 - About 3270 and 5250 Programming Set Buffer Address (SBA) The 3-byte SBA order specifies a new buffer address which operations are to start or continue. Operations start at address 0 by default. Use the SBA order to: • write data into various areas of the buffer. • precede another order in the data stream to specify the starting address for a PT, RA, or EUA order. • specify the address at which an attribute byte is stored by an SF order. • specify the cursor address for an IC order. If the SBA order specifies an invalid address (that is, an address outside the range of the computer display buffer) the following events occur: 1 The write operation is terminated at that point. 2 The computer recognizes this as an error condition. 3 The computer automatically performs a clear memory operation. 4 The entire display buffer is set to nulls. 5 A clear AID character is transmitted to the computer control unit for forwarding to the host. The result is the same as if the user had selected Function 7 (clear memory). Start Field (SF) This order notifies the computer that the next byte in the write data stream is an attribute character. The computer stores the next byte and attribute character at the current buffer address. As the attribute character is stored, the computer sets a control bit at the address, identifying that byte as an attribute character during subsequent program or device operations with the buffer data. Note: The byte immediately following the SF order in the data stream is always stored as an attribute character even when the byte is intended as an order or an alphanumeric data character. The attribute character defines the characteristics or "attributes" of the data that follows. Each attribute character plus all the data following it, up to the next attribute character or the last location of the buffer, is called a field. In addition to defining the start of a field, attribute characters define these characteristics for all character locations contained within the field: • Protected from modification by the user, or unprotected (available for the operator to modify or enter data). If unprotected, the field is an input field. • Alphanumeric (a field that accepts alphabetic, numeric, or symbol characters) or numeric (an input field that accepts only the period, dash, and numbers 0 to 9). • Field displayed or not displayed to the user. Each character occupies one of the character locations in the buffer, but cannot display. During display operations, attribute characters appear as blanks. 10 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
10
Intermec Terminal Emulator (ITE) Programmer’s Reference Manual
Set Buffer Address (SBA)
The 3-byte SBA order specifies a new buffer address which operations are to start or
continue. Operations start at address 0 by default.
Use the SBA order to:
write data into various areas of the buffer.
precede another order in the data stream to specify the starting address for a PT,
RA, or EUA order.
specify the address at which an attribute byte is stored by an SF order.
specify the cursor address for an IC order.
If the SBA order specifies an invalid address (that is, an address outside the range of
the computer display buffer) the following events occur:
1
The write operation is terminated at that point.
2
The computer recognizes this as an error condition.
3
The computer automatically performs a clear memory operation.
4
The entire display buffer is set to nulls.
5
A clear AID character is transmitted to the computer control unit for forwarding
to the host.
The result is the same as if the user had selected Function 7 (clear memory).
Start Field (SF)
This order notifies the computer that the next byte in the write data stream is an
attribute character. The computer stores the next byte and attribute character at the
current buffer address. As the attribute character is stored, the computer sets a
control bit at the address, identifying that byte as an attribute character during
subsequent program or device operations with the buffer data.
The attribute character defines the characteristics or “attributes” of the data that
follows. Each attribute character plus all the data following it, up to the next
attribute character or the last location of the buffer, is called a field.
In addition to defining the start of a field, attribute characters define these
characteristics for all character locations contained within the field:
Protected from modification by the user, or unprotected (available for the
operator to modify or enter data). If unprotected, the field is an input field.
Alphanumeric (a field that accepts alphabetic, numeric, or symbol characters) or
numeric (an input field that accepts only the period, dash, and numbers 0 to 9).
Field displayed or not displayed to the user.
Each character occupies one of the character locations in the buffer, but cannot
display. During display operations, attribute characters appear as blanks.
Note:
The byte immediately following the SF order in the data stream is always
stored as an attribute character even when the byte is intended as an order or an
alphanumeric data character.