Previous Topic: &ROUTECODE

Next Topic: &TIME


&SYSID

Returns the current operating system identification.

An operating system has an ID associated with it. This ID is used by the JES sub-system to identify jobs and so on. &SYSID is used to test the current value of this ID.

Example: &SYSID

&WRITE DATA=SYSTEM ID=&SYSID 
&IF &SYSID = S001 &THEN +
    &GOTO .OK

Notes:

In z/OS and MSP installations the value returned from &SYSID is a 1- to 4-character SMF ID as set by your installation. In z/VM environments, &SYSID returns the 8-character Virtual Machine identifier of the machine in which your product region is executing. In VSE/SP environments, &SYSID returns a single question mark.

&NMID is used to determine the identity of the region under which the procedure is executing.