Verastream SDK for Airlines
5250 OIA Data

The getOIAContents method (of the ScreenTn5250 class) returns the contents of the OIA portion (status line) of the screen in a string format. The following table displays the OIA data returned for a 5250 session.

Note The byte value starts with 0 to match the array indexes in most programming languages.
5250 OIA Data
Byte Bit Description
0 n/a Emulator type = 115 (5250)
1-80 n/a OIA image in binary format
Group 1: Online and screen ownership
81 7-4
3
2
1-0
Reserved
Not ready
Ready/Connected
Reserved
Group 2: Character selection
82 7
6
5-0
Reserved
APL
Reserved
Group 3: Shift state
83 7
6
5-0
Upper shift
Numeric
Reserved
Group 7: Insert
87 7
6-0
Insert mode
Reserved
Group 8: Input inhibited
88 7
6
5
4
3
2
1
0
Non-resetable machine check
Reserved
Machine check
Communication check
Program check
Reserved
Device not working
Reserved
89 7
6
5-0
Reserved
Terminal wait/Keyboard locked
Reserved
90 7
6
5
4
3
2-0
Reserved
User-authorized
User-authorized, minus function
Invalid dead key combination
Wrong place
Reserved
91 7-6
5
4-0
Reserved
System wait
Reserved
Group 12: Communication error reminder
96 7
6-0
Communications error
Reserved
Group 13: Printer status
97 7
6
5
4
3-0
Reserved
Printer malfunction
Printer printing
Printer assignment
Reserved
Related Topics
OIA Data Overview
Presentation Space Overview
  Footer