Previous Topic: Variable Output

Next Topic: User Function Variables

Process Function Variables

The following are Basic variables:

USSDA_PID.n

The unique numeric process ID of this USS process.

USSDA_PPID.n

The parent process ID of this USS process.

USSDA_PROCSTATUS.n

The one-byte hexadecimal status flag of the process. X'80' means the process is stopped. For all possible flag bit meanings, see IBM macro BPXYPGPS.

USSDA_TASKSTATUS.n

Single alphabetic character code value of the state of the USS process. For code meanings or the description of the USS ps command, see IBM macro BPXYPGPS.

USSDA_SID.n

The numeric session ID of this USS process.

USSDA_PGPID.n

The numeric group ID of this USS process.

USSDA_FGPID.n

The foreground numeric group ID of this USS process.

USSDA_EUID.n

The effective numeric user ID of this USS process.

USSDA_RUID.n

The real numeric user ID of this USS process.

USSDA_EGID.n

The effective numeric group ID of this USS process.

USSDA_RGID.n

The real numeric group ID of this USS process.

USSDA_SERVERNAME.n

The server name of this process if it registered with USS as a file server.

USSDA_SYSCALLS.n

The number of USS system service calls made by this process.

USSDA_STARTDATE.n

The date this USS process was created in YYYYMMDD format.

USSDA_STARTTIME.n

The time this USS process was created in HH:MM:SS format.

USSDA_SYSTEMCPU.n

The amount of system overhead CPU time in seconds (ssss.hh) consumed by this USS process.

USSDA_USERCPU.n

The amount of user CPU time in seconds (ssss.hh) consumed by this USS process.

USSDA_CONTTY.n

The controlling terminal name for this USS process, if any.

USSDA_PATH.n

The path name or z/OS program name of the program associated with this USS process.

USSDA_COMMAND.n

The USS command name and its arguments or the z/OS program name associated with this USS process.

USSDA_JOBNAME.n

The z/OS job name of the ASID in which this USS process is running.

USSDA_ASID.n

The address space identifier in which this USS process is running in hexadecimal character format.

The following are Details Keyword variables:

USSDA_SUID.n

The saved numeric user ID for this USS process.

USSDA_SGID.n

The saved numeric group ID for this process.

USSDA_TOTSIZE.n

The amount of virtual storage in bytes that this USS process is using.

USSDA_MVSSWAP.n

The z/OS swap status of this USS process. Values are IN or OUT.

USSDA_SERVERTYPE.n

An integer indicating the virtual file system server type. Values are:

0-Not a server

1-File server

2-Lock server

3-File exporter

USSDA_SERVERFLAGS.n

The four-byte binary value of the server flag field mapped in macro BPXYNREG.

USSDA_MAXVNODES.n

The maximum number of active file server tokens allowed for the server.

USSDA_USEDVNODES.n

The current number of active file server tokens in use by the server.

USSDA_KERNELWAIT.n

The number of elapsed seconds (ssss.hh) since this USS process entered a kernel wait state.