Guardian Procedure Calls Reference Manual
Table 28 Summary of NEWPROCESS[NOWAIT] error and error-detail Values (continued)
Description (including error-detail values, when applicable)error
The shared run-time library (SRL) either has a gateway (GW) table but no callable
procedures or has gateways that are not in the (GW) area.
43
The shared run-time library (SRL) is not executable. Either it was not linked with the nld
utility or it was not linked correctly.
50
The shared run-time library (SRL) is not executable because it does not have either a HP
information header, a REGINFO information header, or a text header. An error occurred
during the linking of the program file.
55
The process creation request specifies too many shared run-time libraries (SRLs).56
The shared run-time library (SRL) does not export any procedures.58
The shared run-time library (SRL) does not have a file code of 700.60
(TNS/R only) File-system error on shared run-time library (SRL) number xx
2
; the error-detail contains
a file-system error number.
1
5xx
1
For a list of all file-system and DEFINE errors, see the Guardian Procedure Errors and Messages Manual.
2
When the error-detail indicates the number of a shared run-time library (SRL), the number represents either the public
SRL relative number, or 00 for a native user library. For more information on shared run-time libraries (SRLs) see the nld
Manual and noft Manual.
General Considerations
• When bit 1 of priority is set to 1
To specify only one of the two extra fields, the calling process must set priority.<1> to 1
and fill the file-name not specified with blanks.
If library-file:
◦ is blank, no library is specified; the process uses the library specified in the program file,
if any.
◦ is nonblank and library-file[0] is 0 (binary), this process is to run with no user
library.
◦ specifies a file name, that file is used as the user library for this process.
See “Library considerations” below.
• Creation of the backup of a named process pair
If the backup of a named process pair is created, the backup process becomes the "creator"
of the primary (that is, the caller to NEWPROCESS[NOWAIT]).
• Library considerations
A "user library" is an object file containing one or more procedures. Unlike a program, it
contains no main procedure (no program entry point). Native user libraries can contain global
instance data; TNS user libraries cannot.
In a TNS process, unresolved symbols in the program are resolved first in the user library, if
any, and then in the system library.
In a non-PIC native process (TNS/R only), a user library is a shared runtime library (SRL);
unresolved symbols in the program are resolved first in the user library, if any, then in any
other SRLs loaded with the program, and finally in the native system library. Symbols bound
at link time to a specific named SRL will be resolved only in that SRLs at load time.
In a PIC process, a user library is a dynamic-link library (DLL); unresolved symbols in the
program are resolved first in the user library, if any, then in any other DLLs loaded with the
program, and finally in the native system library. On TNS/E systems, the “native system
858 Guardian Procedure Calls (N)