sysVar.userID

The system variable sysVar.userID contains a user identifier in environments where one is available.

You can use sysVar.userID in these ways:

The characteristics of sysVar.userID are as follows:

Primitive type

CHAR

Data length

8 (padded with blanks if the value has less than 8 characters)

Is value always restored after a converse?

Yes

sysVar.userID is initialized from the Java Virtual Machine system property user.name; and if the property cannot be retrieved, sysVar.userID is blank.

Example

  myItem = sysVar.userID;