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

Start of Header

Page 49 highlights

Chapter 1 - About 3270 and 5250 Programming • The screen attribute in the SF order is written into the location defined by the display address. • The start-of-field address is set to the display address +1. • The end-of-field address is set to the display address + the field length specified by the SF order. The ending screen attribute is written to the end-of-field +1. This is a "20." • The display address is incremented by 1. • If this is an input field (one in which a field format word has been specified), a format table entry consisting of the field format and the FCWs is generated. In addition, if the SF order is rejected, the keyboard is locked and any outstanding AID byte is cleared. • The format table is modified if the display address +1 is equal to the starting address of an input field that was previously defined. This happens as follows: • The field format word of the previously defined field is overlaid with the new one. • All FCWs and length parameters that were specified are ignored. Two bytes, however, are still required for the length even though no value check is performed on them. • Field ending address is set equal to the field's original ending address. • The screen ending address is not rewritten. • The defined field is not null filled. If any data characters follow the length field, they are written into the defined field. Description: Restrictions: Format: Start of Header The Start of Header (SOH) order notifies the computer that the next byte in the Write data steam contains a header order specifying header information for the format table. When the controller receives this order, it clears the format table and then inserts the contents of the SOH order. A parameter error is posted when the output data stream ends before the bytes needed are sent or when the first order byte is not between 1-54. The Start of Header order is formatted as follows: Function Hex Code Order Length Reserved Reserved Resequence Error row F keys 01 07 00 00 00 00 000000 Results: Because the length of this order varies, the first byte after the order code contains the number of bytes included. Length may range from 0-7 bytes. Intermec Terminal Emulator (ITE) Programmer's Reference Manual 37

  • 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
37
The screen attribute in the SF order is written into the location defined by the
display address.
The start-of-field address is set to the display address +1.
The end-of-field address is set to the display address + the field length specified
by the SF order. The ending screen attribute is written to the end-of-field +1.
This is a “20.”
The display address is incremented by 1.
If this is an input field (one in which a field format word has been specified), a
format table entry consisting of the field format and the FCWs is generated. In
addition, if the SF order is rejected, the keyboard is locked and any outstanding
AID byte is cleared.
The format table is modified if the display address +1 is equal to the starting
address of an input field that was previously defined. This happens as follows:
The field format word of the previously defined field is overlaid with the new
one.
All FCWs and length parameters that were specified are ignored. Two bytes,
however, are still required for the length even though no value check is
performed on them.
Field ending address is set equal to the field's original ending address.
The screen ending address is not rewritten.
The defined field is not null filled. If any data characters follow the length
field, they are written into the defined field.
Start of Header
Description:
The Start of Header (SOH) order notifies the computer that the next byte in the
Write data steam contains a header order specifying header information for the
format table. When the controller receives this order, it clears the format table and
then inserts the contents of the SOH order.
Restrictions:
A parameter error is posted when the output data stream ends before the bytes
needed are sent or when the first order byte is not between 1-54.
Format:
The Start of Header
order is formatted as follows:
Results:
Because the length of this order varies, the first byte after the order code contains
the number of bytes included. Length may range from 0-7 bytes.
Function
Hex Code
Order
01
Length
07
Reserved
00
Reserved
00
Resequence
00
Error row
00
F keys
000000