TACL Reference Manual

Built-In Functions and Variables
HP NonStop TACL Reference Manual429513-018
9-301
#PROCESSINFO Built-In Function
PROCESSTIME
returns the central processing unit time in microseconds that the process has
consumed (as opposed to elapsed run time). If the process is remote and is
running on a NonStop 1+ system, it returns 0.
PROCESSTYPE
returns an unsigned integer value that indicates the process type. If the
process is a Guardian process it returns 0. If the process is an OSS process, it
returns 1.
PROGRAMDATAMODEL
returns 1 if the target process is a 64-bit process; otherwise 0 is returned. 0 is
returned if the target system is running an operating system version earlier
than H06.24 or J06.13.
PROGRAMFILE
returns the program file name. If the process is a system process, is remote,
and is running on a NonStop 1+ system, it returns nothing.
If the process is an OSS process, it returns the generic Guardian ZYQ-file
name.
If the program file name for a process cannot be retrieved, “*ERROR* Path
to program file name down” is written to the output file, and the TACL
program stops. This situation can occur if the processor for the disk process
controlling the disk where the program file resides fails, making the process file
name unavailable.
QUALINFOAVAIL
equals 1 if the process has called the PROCESS_SETINFO_ operating system
procedure to declare that it supports qualifier name searches through the
FILENAME_FIND_ operating system procedures; otherwise, it equals 0.
REMOTECREATOR
equals 1 if the process’s creator is remote; otherwise, it equals 0.
RESULT
returns an indication of the success of the #PROCESSINFO call, as follows:
Value Meaning
0 Results refer to the process specified.
1 Results refer to a higher-numbered process, stepping successively
up through PINs and then through CPUs.