Previous Topic: SWAPSTAK()Next Topic: TUG()


SYSVAL()

This function gains access to various system values.

Syntax

value = SYSVAL({SYSID|SYSNAME|SSID})

Parameters

value

Returned value, if the function was successful. Otherwise, error text is returned.

SYSID

Requests the SMF system ID.

SYSNAME

Requests the GRS system name.

SSID

Requests the subsystem name the ISERVE uses.

Return Codes

101

ARG 1 MISSING OR INVALID

Example

sysname = sysval('SYSNAME')      /* Obtain the GRS SYSNAME */