TACL Reference Manual

Built-In Functions and Variables
HP NonStop TACL Reference Manual429513-018
9-338
#SEGMENTINFO Built-In Function
#SEGMENTINFO Built-In Function
Use #SEGMENTINFO to obtain information about any of the segments being used by
your TACL process.
option
is an information request. It can be any of these:
ACCESS
returns the access mode of the segment, SHARED or PRIVATE.
DIRECTORY
returns the directory in which the segment file appears.
FILENAME
returns the name of the current segment file.
ID
returns the segment ID for which information is being returned.
PRIMARY
returns the primary extent size of the segment file.
RESULT
returns 0 if the segment ID for which information is sought is the one specified
in the argument, 1 if the information is for the next higher segment ID in use, or
2 if there is no higher segment ID in use.
SECONDARY
returns secondary extent size of the segment file.
USECOUNT
returns the number of pointers in your TACL process that point into the
segment in question. Other TACL processes are not included. Pointers result
from using variables in the segment:
As the home directory
In the use list
For requesters
For servers (both explicit and implicit)
#SEGMENTINFO / option [ , option ] / [ segment-id ]