Guardian Procedure Calls Reference Manual (G06.25+)

Guardian Procedure Calls (N)
Guardian Procedure Calls Reference Manual522629-013
10-23
NEWPROCESS Procedure
(Superseded by PROCESS_LAUNCH_ Procedure )
OSS Considerations
You cannot create an OSS process using the NEWPROCESS procedure.
NEWPROCESS returns error 12 if you try.
You can call NEWPROCESS from an OSS process to create a Guardian process.
Every Guardian process has the following security-related attributes for accessing
OSS objects. These attributes are passed, unchanged, from the caller to the new
process, whether the caller is an OSS process or a Guardian process:
Real, effective, and saved user ID
Real, effective, and saved group ID
Group list
Login name
Current working directory (cwd)
Maximum file size
Default OSS file security
No other OSS process attribute is inherited by the new process.
OSS file opens in the calling process are not propagated to the new process.
Example
CALL NEWPROCESS ( pfile^name, , , , process^id, error );
Related Programming Manual
For programming information on batch processing, see the NetBatch Users Guide.