OEM Data Stream Format

HostExplorer

OEM Data Stream Format

3270

You can use the Write Structured Field Read Partition Query command to determine if HostExplorer is connected to your system. Refer to the source supplied for PCPRINT if you want to add the support to your own application. HostExplorer adds the following reply type when it is present. (The data is in hexadecimal and EBCDIC).

OEM Auxiliary Device Reply

Field Name

OffSet

Description

SFLEN

+0

Structured field length.

x'818F'

+2

Structured field ID.

x'0000'

+4

Reserved field.

TCP3270

+6

Device Type. This field always contains the value TCP3270 with a trailing blank in EBCDIC.

OSID

+14

O/S Type. This field contains the operating system name padded with blanks in EBCDIC. The current values are: DOS3, WIN3, and OS/2.

x'04010000'

+22

Reserved field.

SUBLEN

+26

Subfield length. This contains the length of the subfield that follows. The field will usually have a minimum length of 12.

x'FF'

+27

Subfield ID. This value identifies the subfield as a HOSTEX type.

MAJ_VER

+28

Major Version Number. This 1 byte value identifies the major version number.

MIN_VER

+29

Minor Version Number. This 1 byte value identifies the minor version number.

SYSFLG1

+30

System Flag 1. All reserved for future use.

SYSFLG2

+31

System Flag 2. All reserved for future use.

NETADDR

+32

Network Address. This field contains the TCP/IP network address of the workstation in network byte order. Although the field is 10 bytes long, only the first 4 bytes are used.

LOGINNAME

+42

Not used.

X'00'

+42+LL

Null terminator. This null byte terminates the LOGINNAME field and is always present.


Related Topics

Clipboard Format Description

HostExplorer Functions