Ohio Constants

Top  Previous  Next

Constants for all Ohio classes.

 

OHIO_INFO

 

Constant

Value

Description

OHIO_VERSION_LEVEL

OHIO 1.00

The OHIO version level of this implementation.  The form is "OHIO nn.nn"

OHIO_VENDOR_NAME

Cybele Software Inc.

The name of the vendor providing this OHIO implementation. Format is vendor defined.

OHIO_VENDOR_PRODUCT_VERSION

TN Bridge Integration Pack 3.0

The vendor product version that is providing the OHIO implementation. Format is vendor specific.

 

 

OHIO_SESSION cfg keys

 

Constant

Value

Description

OHIO_SESSION_TYPE

OHIO_SESSION_TYPE=

The OHIO Session Type: unknown host, 3270 or 5250 host.

OHIO_SESSION_HOST

OHIO_SESSION_HOST=

The OHIO Session Host.

OHIO_SESSION_PORT

OHIO_SESSION_PORT=

The OHIO Session Port.

OHIO_SESSION_NAME

OHIO_SESSION_NAME=

The OHIO Session Name.

OHIO_SESSION_CONFIG_RESOURCE

OHIO_SESSION_CONFIG_RESOURCE=

The OHIO Session Configuration Resource.

OHIO_SESSION_TN_ENHANCED

OHIO_SESSION_TN_ENHANCED=

 

OHIO_SESSION_SCREEN_SIZE

OHIO_SESSION_SCREEN_SIZE=

The Screen Size for the OHIO Session.

OHIO_SESSION_CODE_PAGE

OHIO_SESSION_CODE_PAGE=

The Code Page for the OHIO Session.

 

 

OHIO_DIRECTION

 

Constant

Value

Description

OHIO_DIRECTION_FORWARD

0

Forward (beginning towards end)

OHIO_DIRECTION_BACKWARD

1

Backward (end towards beginning)

 

 

OHIO_TYPE

 

Constant

Value

Description

OHIO_TYPE_UNKNOWN

0

Unknown Host

OHIO_TYPE_3270

1

3270 Host

OHIO_TYPE_5250

2

5250 Host

 

 

OHIO_STATE

 

Constant

Value

Description

OHIO_STATE_DISCONNECTED

0

The communication link to the host is disconnected

OHIO_STATE_CONNECTED

1

The communication link to the host is connected

 

 

OHIO_PLANE

 

Constant

Value

Description

OHIO_PLANE_TEXT

1

Indicates Plane Text (character data)

OHIO_PLANE_COLOR

2

Indicates Plane Color (standard HLLAPI CGA color values)

OHIO_PLANE_FIELD

4

Indicates Field Attribute Plane (field attribute bytes)

OHIO_PLANE_EXTENDED

8

Indicates Extended Plane (extended attribute bytes)

 

 

OHIO_COLOR

 

Constant

Value

Description

OHIO_COLOR_BLACK

0

Black

OHIO_COLOR_BLUE

1

Blue

OHIO_COLOR_GREEN

2

Green

OHIO_COLOR_CYAN

3

Cyan

OHIO_COLOR_RED

4

Red

OHIO_COLOR_MAGENTA

5

Magenta

OHIO_COLOR_YELLOW

6

Yellow

OHIO_COLOR_WHITE

7

White

 

 

OHIO_EXTENDED

 

Constant

Value

Description

OHIO_EXTENDED_HILITE

$C0

Bitmask for Highlighting Bits

OHIO_EXTENDED_COLOR

$38

Bitmask for Color Bits

OHIO_EXTENDED_RESERVED

$07

Bitmask for Reserved Bits

OHIO_EXTENDED_HILITE_NORMAL

$00

Normal highlighting

OHIO_EXTENDED_HILITE_BLINK

$40

Blinking highlighting

OHIO_EXTENDED_HILITE_REVERSEVIDEO

$80

Reverse video highlighting

OHIO_EXTENDED_HILITE_UNDERSCORE

$C0

Under score highlighting

OHIO_EXTENDED_COLOR_DEFAULT

$00

Default color

OHIO_EXTENDED_COLOR_BLUE

$08

Blue

OHIO_EXTENDED_COLOR_RED

$10

Red

OHIO_EXTENDED_COLOR_PINK

$18

Pink

OHIO_EXTENDED_COLOR_GREEN

$20

Green

OHIO_EXTENDED_COLOR_TURQUOISE

$28

Turquoise

OHIO_EXTENDED_COLOR_YELLOW

$30

Yellow

OHIO_EXTENDED_COLOR_WHITE

$38

White

OHIO_EXTENDED_COLUMN_SEPARATOR

$02

Separator

 

 

OHIO_FIELD

 

Constant

Value

Description

OHIO_FIELD_ATTRIBUTE

$C0

Bitmask for field attribute

OHIO_FIELD_PROTECTED

$20

Protected field

OHIO_FIELD_NUMERIC

$10

Numeric field

OHIO_FIELD_HIDDEN

$0C

Hidden field

OHIO_FIELD_PEN_SELECTABLE

$08

Pen selectable field

OHIO_FIELD_HIGH_INTENSITY

$04

High Intensity field

OHIO_FIELD_RESERVED

$02

Reserved field

OHIO_FIELD_MODIFIED

$01

Modified field

 

 

OHIO_UPDATE

 

Constant

Value

Description

OHIO_UPDATE_CLIENT

0

Update initiated by client

OHIO_UPDATE_HOST

1

Update initiated by host

 

 

OHIO_OWNER

 

Constant

Value

Description

OHIO_OWNER_UNKNOWN

0

Unitialized

OHIO_OWNER_APP

1

Application or 5250 host

OHIO_OWNER_MYJOB

2

3270 - Myjob

OHIO_OWNER_NVT

3

NVT (Network Virtual Terminal) mode

OHIO_OWNER_UNOWNED

4

Unowned (3270 only)

OHIO_OWNER_SSCP

5

SSCP (3270 only)

 

 

OHIO_INPUTINHIBITED

 

Constant

Value

Description

OHIO_INPUTINHIBITED_NOTINHIBITED

0

Input not inhibited

OHIO_INPUTINHIBITED_SYSTEM_WAIT

1

Input inhibited by a System Wait state ("X SYSTEM" or "X []")

OHIO_INPUTINHIBITED_COMMCHECK

2

 

OHIO_INPUTINHIBITED_PROGCHECK

3

 

OHIO_INPUTINHIBITED_MACHINECHECK

4

 

OHIO_INPUTINHIBITED_OTHER

5

Input inhibited by something other than above states

 

 

OHIO_SESSION_STATE

 

Constant

Value

Description

OHIO_SESSION_STATE_NOSESSION

0

No session established

OHIO_SESSION_STATE_SSCPLU

1

SSCPLU session state

OHIO_SESSION_STATE_LULU

2

LULU session state

 

 

OHIO_EXCEPTION

 

Constant

Value

OHIO_EXCEPTION_SESSIONALREADYEXISTS

Already exists a session with that name

OHIO_EXCEPTION_BADCFGFILE

Error in configuration file

OHIO_EXCEPTION_BADHOSTNAME

There is no data provided in '+OHIO_SESSION_HOST+' configuration field

OHIO_EXCEPTION_BADPORTNUMBER

Data provided in '+OHIO_SESSION_PORT+' configuration field is not a number

OHIO_EXCEPTION_INVALIDPORTNUMBER

Data provided in '+OHIO_SESSION_PORT+' configuration field is out of range

OHIO_EXCEPTION_TOOMANYSESSIONS

Too many sessions