TS/MP Management Programming Manual (G06.24+, H06.03+)

SPI Programming Considerations
NonStop TS/MP Management Programming Manual540082-001
3-27
Writing C Programs
When the last link known to the PATHMON process is returned by a link manager
(such as the LINKMON process) and the associative server is started by the
PATHMON process, the PATHMON process leaves the server state as RUNNING
(instead of changing it to PENDING). A RUNNING state allows the PATHMON
process to continue to allocate links to the server during the period that other
requesters continue to use the server. There is, however, an interval when the
PATHMON process can grant a link to an associative server that is stopping itself.
Although the STOPPED marker allows you to use the ALTER SC command to
specify changes for configuration attributes, the changes you specify do not take
effect until the associative server is actually stopped and then restarted from this
Pathway subsystem.
Changes to these do not take effect until the PATHMON process receives a
START SC command for an associative server that has actually stopped:
ASSIGN message specified with the ADD SCASSIGN or ALTER SCASSIGN
command
DEFINE message specified with the ADD SCDEFINE or ALTER SCDEFINE
command
PARAM message specified with the ADD SCPARAM or ALTER SCPARAM
commands
Startup message specified with the ADD SCSTARTUP or ALTER
SCSTARTUP commands
The ZDEFAULTVOLUME, ZGUARDIANLIB, ZHOMETERM, ZIN, ZOUT,
ZPRIORITY, and ZPROGRAM fields in ZPWY-DDL-DEF-SC
Writing C Programs
This subsection contains special considerations for writing C programs.
Building the DDL Dictionary
The DDL command ?CFIELDALIGN_MATCHED2 allows the DDL compiler to generate
C data structures starting on byte boundaries. Always issue this command before you
start building the DDL dictionary from the ZSPIDDL, ZEMSDDL, and ZPWYDDL files.
Note. When changing the definition of an associative server, make sure you make the
changes everywhere the associative server is defined. Otherwise, you cannot be sure that the
new definition will be implemented or permanent.