GDSX Manual

Operations and Support
Extended General Device Support (GDSX) Manual–134303
3-11
Space Usages and Limitations
To have a GDSX object file run as a server process, you must use a PATHCOM SET
SERVER PARAM command to set the GDSX SERVER configuration parameter to 1.
In addition, TSCODE automatically sets the value of the AUTOSTOP configuration
parameter to 1, which means that a GDSX server stops if there are no external processes
opening it.
A GDSX application configured to run as a server process can also be designed and
coded to run in NonStop mode. For this case, you still set the SERVER configuration
parameter to 1 and specify a primary and backup processor during configuration. In
addition, you must set the NONSTOP configuration parameter to 1 with a SET SERVER
PARAM command.
The following example shows the PATHCOM configuration commands that define a
GDSX object file as a NonStop TS/MP server. The GDSX server process also runs in
NonStop mode and uses the TMF pseudo procedures.
Set the NonStop TS/MP configuration parameters as follows:
= RESET SERVER
= SET SERVER CPUS (0:1) Primary and backup processors
= SET SERVER MAXSERVERS 1 Run one GDSX process
= SET SERVER NUMSTATIC 1 GDSX should always be active
= SET SERVER SECURITY ā€œNā€ Server class security
= SET SERVER TMF ON Server handles TMF transactions
= SET SERVER PROGRAM $SKY.LINZ.GDSE GDSX object name
= SET SERVER DEBUG OFF No debugging mode
= SET SERVER PROCESS $GDSX GDSX process name
Set the GDSX configuration parameters:
= SET SERVER PARAM MAXLINES 0 Run as a device handler
= SET SERVER PARAM CONTROLFLAGS 8 Run as a converted process
= SET SERVER PARAM MAXBUFPOOL 50000 Reserve some pool space
= SET SERVER PARAM TASKSIZE 2048 Size of data stack
= SET SERVER PARAM DEVICEINFO 1 Allow DEVICEINFO requests
= SET SERVER PARAM TMF 2 Let USCODE start TMF transactions
= SET SERVER PARAM PROCNOWAIT 1 Run in nowait mode
= SET SERVER PARAM SERVER 1 Run as a server
= SET SERVER PARAM NONSTOP 1 Run in NonStop mode
= ADD SERVER GDSX-SERVER Name of server class
= START SERVER GDSX-SERVER Start the GDSX server
Space Usages and Limitations
Because USCODE is bound with TSCODE to become a GDSX runnable unit, there are
limitations in code space and data space in user code. However, because multiple code
spaces are available, code space is not likely to be a problem.
Note. A GDSX server does not reply with error 70 to a startup message from the PATHMON
process.