krn.GetServerInfo

This job returns a specific server information based on the information type.

1. Input Parameters

Name Type Required Description

Flags

INT

Yes

Currently not supported — pass 0.

Info

INT

Yes

Information type (see table below)

2. Output Parameters

Name Type Dependency Description

Info

INT

Equal to the input parameter Info

Name

STRING

The identifier associated with the info type

Value

STRING

The queried server information

3. Information Types

Info Type Info String Description

1

ServerID

Server ID

2

ComputerName

Server name

3

InstanceName

Program instance name

4

ComString

Server Comstring (e.g. 127.0.0.1)

5

DataBaseSourceC

Database name (e.g. os400)

6

DataBaseParser

Database parser (e.g. oxorantl.dll)

7

ClientETC

Path to client configuration files

8

StatusLine

Status bar string

9

ServerType

0 = main server; 1 = secondary server

16

ETC

Complete path of the server directory etc

1000

FileVersionListUpdate

File names + creation time from server\etc\update

1001

FileVersionListClient

File names + creation time from server\etc\update\client

1002

FileVersionListAdmin

File names + creation time from server\etc\update\admin

1003

FileVersionListIndex

File names + creation time from server\etc\update\index

1004

FileVersionListTemplate

File names + creation time from server\etc\templates

4. Return Value

(INT): 0 = Job successful, otherwise error code.