System Variables › &ZSYSNAME
Returns the MVS SYSNAME value. If the value is not available (if the operating system is non-MVS) a value of UNKNOWN is returned.