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:
Returned value, if the function was successful. Otherwise, error text is returned.
Requests the SMF system ID.
Requests the GRS system name.
Requests the subsystem name being used by ISERVE.
The SYSVAL() function produces these return codes:
ARG 1 MISSING OR INVALID
Example
sysname = sysval('SYSNAME') /* Obtain the GRS SYSNAME */
| Copyright © 2012 CA. All rights reserved. | Tell Technical Publications how we can improve this information |