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

Program Tab (PT), Repeat Address (RA

Page 21 highlights

Chapter 1 - About 3270 and 5250 Programming Program Tab (PT) The PT order advances the current buffer address of the first character position to the next unprotected field. Special conditions are as follows: • If the PT order is issued when the current buffer address is the location of an attribute byte of an unprotected field, the buffer address is set to the next location of that field (location 1). • If a PT order follows data, the rest of the field is null-filled. • If a PT order in the write data stream does not follow a control command, order (or order sequence such as WCC), IC order, or RA order (4-character sequence), nulls are inserted from the current buffer address to the end of the field. • When the PT order follows a control command, order, or sequence order, the buffer content is not modified for that field. The PT order stops its search at the last location in the buffer. If an attribute character for an unprotected field is not found by this point, the buffer address is set to 0 (first location of the buffer). If the PT order finds an unprotected attribute in the last location of the buffer, the buffer address is still set to location 0. To continue the search, issue a second PT order immediately following the first. Since the current buffer address was set to 0 by the first PT order, the second PT order begins its search starting at location 0. If the previous PT order inserted nulls in each character location when terminated at the last buffer location, the new PT order continues to insert nulls from buffer location 0 to the end of the current field. Repeat Address (RA) The RA order stores a character "y" in all buffer locations, starting at the current buffer address and ending at (but not including) the specified stop address. For the asynchronous protocol, the stop address is "xxxx." The stop address and the character to be repeated are identified by the five bytes immediately following the RA order in the write data stream. For the SNA/SDLC protocol, the third character following the RA order is always interpreted as the character to be repeated. If an invalid stop address is specified such as an address outside the range of the computer's display buffer, the following events occur (not necessarily in the order listed): • The write operation is terminated at that point. • The character is not stored. • The computer recognizes this as an error condition. • The computer automatically performs a clear memory operation. • The entire display buffer is set to nulls. • A clear AID character is transmitted for forwarding to the host. When the stop address is lower than the current buffer address, the RA operation wraps from the end of the buffer to the beginning of the buffer and continues. When the stop address equals the current buffer address, the specified character is stored in all buffer locations. Attribute characters are overwritten by the RA order if they occur before the RA order stop address. Intermec Terminal Emulator (ITE) Programmer's Reference Manual 9

  • 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
9
Program Tab (PT)
The PT order advances the current buffer address of the first character position to
the next unprotected field. Special conditions are as follows:
If the PT order is issued when the current buffer address is the location of an
attribute byte of an unprotected field, the buffer address is set to the next
location of that field (location 1).
If a PT order follows data, the rest of the field is null-filled.
If a PT order in the write data stream does not follow a control command, order
(or order sequence such as WCC),
IC order, or
RA order (4-character sequence),
nulls are inserted from the current buffer address to the end of the field.
When the PT order follows a control command, order, or sequence order, the
buffer content is not modified for that field.
The PT order stops its search at the last location in the buffer. If an attribute
character for an unprotected field is not found by this point, the buffer address is set
to 0 (first location of the buffer). If the PT order finds an unprotected attribute in
the last location of the buffer, the buffer address is still set to location 0.
To continue the search, issue a second PT order immediately following the first.
Since the current buffer address was set to 0 by the first PT order, the second PT
order begins its search starting at location 0. If the previous PT order inserted nulls
in each character location when terminated at the last buffer location, the new PT
order continues to insert nulls from buffer location 0 to the end of the current field.
Repeat Address (RA)
The RA order stores a character “y” in all buffer locations, starting at the current
buffer address and ending at (but not including) the specified stop address. For the
asynchronous protocol, the stop address is “xxxx.” The stop address and the
character to be repeated are identified by the five bytes immediately following the
RA order in the write data stream.
For the SNA/SDLC protocol, the third character following the RA order is always
interpreted as the character to be repeated. If an invalid stop address is specified
such as an address outside the range of the computer’s display buffer, the following
events occur (not necessarily in the order listed):
The write operation is terminated at that point.
The character is not stored.
The computer recognizes this as an error condition.
The computer automatically performs a clear memory operation.
The entire display buffer is set to nulls.
A clear AID character is transmitted for forwarding to the host.
When the stop address is lower than the current buffer address, the RA operation
wraps from the end of the buffer to the beginning of the buffer and continues.
When the stop address equals the current buffer address, the specified character is
stored in all buffer locations. Attribute characters are overwritten by the RA order if
they occur before the RA order stop address.