z/OS Using REXX and z/OS UNIX System Services
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


uname

z/OS Using REXX and z/OS UNIX System Services
SA23-2283-00

Read syntax diagramSkip visual syntax diagram
>>-uname--stem-------------------------------------------------><

Function

uname invokes the uname callable service to obtain information about the system you are running on.

Parameters

stem
The name of a stem variable used to return the information. Upon return, stem.0 contains the number of variables returned. To access the information, you can specify a numeric value (see REXX predefined variables) or the predefined variables beginning with U_ that derive the appropriate numeric value. For example, both stem.1 and stem.u_sysname access the name of the operating system.
Variable Description
U_MACHINE The name of the hardware type on which the system is running
U_NODENAME The name of this node within the communication network
U_RELEASE The current release level of this implementation
U_SYSNAME The name of this implementation of the operating system (z/OS®)
U_VERSION The current version level of this release

Example

"uname uts."

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014