Distributed Name Service (DNS) Management Programming Manual

Starting a DNS Name Manager Process
Communicating with the DNS Name Manager
46958 Tandem Computers Incorporated 2–5
IF <> THEN
BEGIN
!
! Error sending message to name manager -- find out
which error
!
CALL file_getinfo_(fno, err);
!
! Ignore error 70
!
IF err = 70 THEN err := 0;
END
ELSE
!
! Startup message sent Okay
!
err := 0;
!
! Close name manager
!
CALL close_(fno);
!
! Stop name manager if there was an error
!
IF err THEN
CALL PROCESS_STOP_(phandle);
END;
Couldn’t start the name manager
Guardian 90 Procedure
Considerations
An application can start the DNS name manager process by calling the
PROCESS_CREATE_ procedure (NEWPROCESS[NOWAIT] for C-series Guardian 90)
provided by the Guardian 90 operating system. The complete syntax of these
procedures is provided in the System Procedure Calls Reference Manual, and further
information about how to use them is given in the GUARDIAN 90 Operating System
Programmer’s Guide.
Special considerations for using the PROCESS_CREATE_ procedure to run the name
manager are discussed in the following paragraphs.
You must include the
name
parameter. If you do not include the
name
parameter, the
call to PROCESS_CREATE_ will be successful, but the DNS name manager process
will end abnormally.
Also, if
name
is not the same as PROCESSNAME configured for the name manager in
the configuration file (specified in the STARTUP.IN field), the resulting manager
process will be able to process only inquiry commands and cannot be used to update
the database.