COBOL Manual for TNS and TNS/R Programs

Process Initiation, Communication, and
Management
HP COBOL Manual for TNS and TNS/R Programs522555-006
31-27
Determining the Status
The system number (in a network of systems) on which the process is running
An error value, indicating the success of (or the nature of the failure of) the request
Topics:
Accessor IDs
Search Mode
Accessor IDs
The creator accessor ID and process accessor ID are elements of the security system
of the operating environment. Every user has a unique user name and a corresponding
unique user ID. A user name is of the form:
groupname.username
where groupname is the name of the group to which the user belongs, and
username is a name identifying the individual user within the group. This is the same
user name you use when you log on. A user ID is the numeric equivalent of the user
name and is of the form:
group-id, user-id
where group-id and user-id are nonnegative integers in the range 0 through 255.
These are the numeric values reported by the WHO command of the command
interpreter or in the OWNER column of a FUP INFO report.
Every process on an HP system has two accessor IDs:
When you log on to a NonStop system, the operating environment gives your
command interpreter your user ID as its process accessor ID. Only a process having
the appropriate process accessor ID can read, write, execute, or purge a given file.
All processes that you start (using the explicit or implicit RUN command) ordinarily
inherit your process accessor ID as their process accessor ID and as their creator
accessor ID. If, however, the loadfile from which you created the process has been
designated appropriately (using the PROGID option of the FUP SECURE command or
using a SETMODENOWAIT or SETMODE call to set the file security), then the new
process adopts as its process accessor ID the loadfile’s owner ID, not your process
accessor ID.
This enables you to establish a loadfile, executable by other users, that can:
Gain access to a file to which those users themselves cannot gain access
Initiate processes which those users do not own
Accessor ID Description
Creator accessor ID (CAID) Identifies the user who initiated the creation of the process
Process accessor ID (PAID) Authority of the process to make requests to the operating
environment, such as to open a file or stop another process