State codes and input codes

For return code 10 the reason code (in PAN.REA) has a special meaning. It consists of two 2-digit numeric codes, the first number stating what keyword is being processed (state code) and the second number stating the input that caused the error condition (input code). Use the location code (in PAN.LOC) to determine which state code list and input code list to use.

For example:
RC = 10
PAN.REA = 0199
PAN.LOC = 1177

When you use the state code and input code lists for the 11xx location codes, the keyword being processed was .DEFINE for state code 01 and the input code contained an unknown symbol for input code 99.

State codes

State codes for 11xx location codes:
01
.DEFINE and control char
02
field type (protect/skip/unprotect)
03
color (red/blue/green/...)
04
Intensity (bright/normal/invisible)
05
Justify (left/right/nojustify)
06
Numeric
07
extended highlight (blink/reverse/underline)
08
MDT
09
Cursor
10
Pad()
11
Variable
12
Drop

State codes

State codes for 20xx location codes:
01
panel commands (send/receive/converse/...)
02
File()
03
Cursor()
04
Position()
05
Alarm
06
Noerase
07
Keyboard lock (lockkb/freekb)
08
Clrinput
09
Attribute
10
field type (protect/skip/unprotect)
11
color (red/blue/green/...)
12
Intensity (bright/normal/invisible)
13
Justify (left/right/nojustify)
14
Numeric
15
extended highlight (blink/reverse/underline)
16
MDT
17
Cursor
18
Pad()
19
closing parenthesis of the ATTRIBUTE argument

Input codes

Input codes for 11xx and 20xx location codes:
01
field type (protect/skip/unprotect)
02
color (red/blue/green/...)
03
Intensity (bright/normal/invisible)
04
Justify (left/right/nojustify)
05
Numeric
06
extended highlight (blink/reverse/underline)
07
MDT
08
Cursor
09
Pad()
10
Variable
11
Drop
12
(not used)
13
File()
14
Cursor()
15
Position()
16
Alarm
17
Noerase
18
Keyboard lock (lockkb/freekb)
19
Clrinput
20
Attribute
21
closing parenthesis of the ATTRIBUTE argument
98
End of command; more operands were expected
99
Unknown symbol; keyword or control character was expected

State codes

State codes for 12xx location codes:
01
panel name
02
protect/skip field
03
unprotect field
04
text within a protect/skip field
05
(not implemented yet)
06
explicit input field length number
07
unprotect variable
08
protect/skip variable

Input codes

Input codes for 12xx location codes:
01
Plain displayable text
02
Explicit length number
03
Protect field control character
04
Unprotect field control character
05
Variable control character
07
End of panel
08
Invalid or unknown input


sicode.html | Timestamp icon Last updated: Monday, 5 June 2017