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

Data Stream Orders, Insert Cursor - firmware

Page 42 highlights

Chapter 1 - About 3270 and 5250 Programming 5250 Data Stream Orders This section describes the host 5250 data stream orders that the host can send to computers on the network. Orders govern format and data expectations within the WTD command. For more information about the WTD command, see "Write to Display (WTD)" on page 28. The host application can include computer orders in the WTD command, either alone or intermixed with display data. Orders are executed sequentially and are not stored in the display buffer with other data in the data stream. Five buffer control orders position, define, and format data written into the buffer, erase selected unprotected data in the buffer, and reposition the cursor. The TD order writes transparent data to the display. Description: Insert Cursor The Insert Cursor (IC) order either sets the system insert cursor address to the location specified by the two bytes that follow the order when it is included in the WTD command, or moves the cursor to the specified address without affecting the system IC address when it is included in the Write Error Code command. Byte 1 gives the row address, Byte 2 the cursor address. Note: If multiple IC orders appear in the Write data stream, the last one encountered is used in subsequent operations. Restrictions: Format: A parameter error is posted when there are fewer than two bytes following the order, the row address equals 0 or is greater than 24, and the column address equals 0 or is greater than 80. The Insert Cursor order is formatted as follows: Insert Cursor Hex 13 Row Address Hex 01 Column Address Hex 01 Results: When the order is used in the WTD command, the cursor is not immediately moved, and the address is saved for later use. The cursor is moved when the entire WTD is completed. When the order is used in the Write Error Code command, the cursor is moved to the address given in the IC order and does not affect the system IC address. The cursor exits the field regardless of the type and does not perform any field checks. For example, it does not check for a filled field for a field specified as mandatory fill. You can use the IC order in the Write Error Code command to tell the computer operator where an error has occurred. Maximum row and column addresses are determined by the character size selected through the ITE configuration menus or firmware. 30 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
30
Intermec Terminal Emulator (ITE) Programmer’s Reference Manual
5250 Data Stream Orders
This section describes the host 5250 data stream orders that the host can send to
computers on the network. Orders govern format and data expectations within the
WTD command. For more information about the WTD command, see
“Write to
Display (WTD)” on page 28.
The host application can include computer orders in the WTD command, either
alone or intermixed with display data. Orders are executed sequentially and are not
stored in the display buffer with other data in the data stream.
Five buffer control orders position, define, and format data written into the buffer,
erase selected unprotected data in the buffer, and reposition the cursor. The TD
order writes transparent data to the display.
Insert Cursor
Description:
The Insert Cursor (IC) order either sets the system insert cursor address to the
location specified by the two bytes that follow the order when it is included in the
WTD command, or moves the cursor to the specified address without affecting the
system IC address when it is included in the Write Error Code command. Byte 1
gives the row address, Byte 2 the cursor address.
Restrictions:
A parameter error is posted when there are fewer than two bytes following the order,
the row address equals 0 or is greater than 24, and the column address equals 0 or is
greater than 80.
Format:
The Insert Cursor order is formatted as follows:
Results:
When the order is used in the WTD command, the cursor is not immediately moved,
and the address is saved for later use. The cursor is moved when the entire WTD is
completed.
When the order is used in the Write Error Code command, the cursor is moved to
the address given in the IC order and does not affect the system IC address. The
cursor exits the field regardless of the type and does not perform any field checks.
For example, it does not check for a filled field for a field specified as mandatory fill.
You can use the IC order in the Write Error Code command to tell the computer
operator where an error has occurred. Maximum row and column addresses are
determined by the character size selected through the ITE configuration menus or
firmware.
Note:
If multiple IC orders appear in the Write data stream, the last one
encountered is used in subsequent operations.
Insert Cursor
Row Address
Column Address
Hex 13
Hex 01
Hex 01