z/OS TSO/E CLISTs
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


&SYSOPSYS

z/OS TSO/E CLISTs
SA32-0978-00

&SYSOPSYS contains the z/OS name, version, release, modification level, and FMID of the BCP portion of your installation's operating system. For example,
PROC 0
WRITE &SYSOPSYS
EXIT
may return a string of Z/OS 01.01.00 JBB7713, where Z/OS represents the product name, followed by a blank character, followed by an eight-character string representing version, release, modification number, followed by a blank character, followed by the FMID.

The &SYSOPSYS control variable was introduced after TSO/E Version 2 Release 5 with APAR OW17844. If you use this variable in a environment earlier than TSO/E 2.5, or without the PTF associated with APAR OW17844, the system returns a null string.

Note: To display the operating system product name as "z/OS®" instead of "Z/OS", a CONTROL ASIS or CONTROL NOCAPS statement must be included before the &SYSOPSYS statement. Also notice that a "/" character will appear in the product name, for example, in "z/OS". CLISTs might interpret that character to be the divide operator. For example, SET LEVEL=&SYSOPSYS might produce an error message. To prevent a CLIST from evaluating the resulting string you should use the &STR function; for example, SET LEVEL=&STR(&SYSOPSYS).

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014