The function to be performed by the user ID routine is specified
in parameter 1. The valid functions are described below.
- USERID
- Returns the same value that the USERID built-in function would
return in an environment that is not integrated into TSO/E. The value
returned may be a user ID, a stepname, or a jobname. You can use the
USERID function only in environments that are not integrated into
TSO/E.
- TSOID
- Returns the same value that the USERID built-in function would
return in an environment that is integrated into TSO/E. The value
returned is the TSO/E user ID. You can use the TSOID function only
in a TSO/E address space in an environment that is integrated into
TSO/E.
The TSOID function is intended for use if an application
program calls the user ID routine, IRXUID, in a language processor environment that is integrated
into TSO/E to obtain the user ID. You can also use the TSOID function
if you write your own user ID routine and then call your routine from
application programs running in environments that are integrated into
TSO/E.
TSOID is intended only for language processor environments that are integrated
into TSO/E. Because you can replace the user ID routine only in environments
that are not integrated into TSO/E, your replaceable routine does
not have to support the TSOID function.