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

Asynchronous 5250 Prefixes, System Messages and Parameter Errors, Reset, Enter

Page 51 highlights

Chapter 1 - About 3270 and 5250 Programming Asynchronous 5250 Prefixes Each asynchronous 5250 data stream command is preceded by a variable-length prefix. The first byte of the prefix contains the number of bytes in the prefix, not including the length byte. The length may be zero, which indicates an empty prefix. The second byte of the prefix (if the length is nonzero) must be either hex 40 or C0. • Hex 40 indicates that the data in the rest of the message is LU-LU (normal 5250 commands). • C0 indicates that the rest of the message is SS-LU data (an SS message). SS messages cause the computer to enter the SS message state, where Reset is the only allowable keystroke. The SS message is a one-line message displayed on the computer's status line until the Reset key is pressed. After hex 40 or C0, the 5250 prefix may contain one 5250 signal. A signal is a sequence of 5 bytes that tells the computer to perform a special operation. The following Signal command formats are supported. Hex Code Description C9 00 00 00 01 Signal operator. Turns on the Message Waiting annunciator and sounds the audible alarm. C9 00 00 00 05 Resets the Message Waiting annunciator A parameter error is posted when the message includes less data than indicated by the length byte. This causes a parameter error of "21." If the computer encounters data it does not understand, it ignores the rest of the prefix. System Messages and Parameter Errors The computer display reserves a line for status information, which can display system (nonlocal) information such as a message waiting from the host computer, help messages in response to the Help key, or the system request state of the computer. You can program the location of the status line through the Start of Header order. System codes can also appear on the status line. Parameter errors displayed when the stated condition occurs are listed below. Unless otherwise noted in the table, the computer Reset key restores the status line and returns to the keying mode in effect when the problem occurred. System Messages and Parameter Errors Code 0005 0006 0007 0008 0009 0010 0011 Description Attempt to enter data when not in a field. A key other than a data key or Enter pressed in the system request state. A mandatory entry field has not had data put into it. The field is alpha only, and an invalid key was pressed. The field is numeric only, and an invalid key was pressed. The field is signed numeric, and an invalid key was pressed. Data cannot be entered into the last byte of a signed numeric field. Intermec Terminal Emulator (ITE) Programmer's Reference Manual 39

  • 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
39
Asynchronous 5250 Prefixes
Each asynchronous 5250 data stream command is preceded by a variable-length
prefix. The first byte of the prefix contains the number of bytes in the prefix, not
including the length byte. The length may be zero, which indicates an empty prefix.
The second byte of the prefix (if the length is nonzero) must be either hex 40 or C0.
Hex 40 indicates that the data in the rest of the message is LU-LU (normal 5250
commands).
C0 indicates that the rest of the message is SS-LU data (an SS message). SS
messages cause the computer to enter the SS message state, where Reset is the
only allowable keystroke. The SS message is a one-line message displayed on the
computer’s status line until the
Reset
key is pressed.
After hex 40 or C0, the 5250 prefix may contain one 5250 signal. A signal is a
sequence of 5 bytes that tells the computer to perform a special operation. The
following Signal command formats are supported.
A parameter error is posted when the message includes less data than indicated by
the length byte. This causes a parameter error of “21.” If the computer encounters
data it does not understand, it ignores the rest of the prefix.
System Messages and Parameter Errors
The computer display reserves a line for status information, which can display
system (nonlocal) information such as a message waiting from the host computer,
help messages in response to the
Help
key, or the system request state of the
computer. You can program the location of the status line through the Start of
Header order.
System codes can also appear on the status line. Parameter errors displayed when
the stated condition occurs are listed below. Unless otherwise noted in the table, the
computer
Reset
key restores the status line and returns to the keying mode in effect
when the problem occurred.
Hex Code
Description
C9 00 00 00 01
Signal operator. Turns on the Message Waiting annunciator and sounds
the audible alarm.
C9 00 00 00 05
Resets the Message Waiting annunciator
System Messages and Parameter Errors
Code
Description
0005
Attempt to enter data when not in a field.
0006
A key other than a data key or
Enter
pressed in the system request state.
0007
A mandatory entry field has not had data put into it.
0008
The field is alpha only, and an invalid key was pressed.
0009
The field is numeric only, and an invalid key was pressed.
0010
The field is signed numeric, and an invalid key was pressed.
0011
Data cannot be entered into the last byte of a signed numeric field.