Use the SYSVAL() function to gain access to various system values.
The SYSVAL() function has this syntax:
value = SYSVAL({SYSID|SYSNAME|SSID})
The SYSVAL() function takes these arguments:
|
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 being used by ISERVE. |
The SYSVAL() function produces these return codes:
|
101 |
ARG 1 MISSING OR INVALID |
Example
sysname = sysval('SYSNAME') /* Obtain the GRS SYSNAME */
| Copyright © 2011 CA. All rights reserved. | Tell Technical Publications how we can improve this information |