NetBase for MPE Reference Guide
Chapter 5
5-34
Entry Point Description
STOP
The STOP entry point is used to flush updates for all the files on a node.
When using this entry point, the INFO parameter is not required, NBFLUSH
will write a stop record for the node specified and then terminate. When
the posting process receives the stop record, all files will be closed and the
post process will enter the STOP state.
STOPWAIT
The STOPWAIT entry point is used to perform the same function as the
STOP entry point except that NBFLUSH will wait for a message from the
posting process stating that the task is complete before terminating.
QUIET
The QUIET entry point is used to flush updates for all the files on a node. It
works just like the STOP entry point except that NBPOST will stop only
when the count of DBX transactions reaches zero.
Note: This option must be enabled by the NBCTRL option SHADOW - Enable
Quiet Period Flush.
QUIETWAIT
The QUIETWAIT entry point is used to perform the same function as the
QUIET entry point except that NBFLUSH will wait for a message from the
posting process stating that the task is complete before terminating.
Note: This option must be enabled by the NBCTRL option SHADOW - Enable
Quiet Period Flush.
WAIT
An alternate entry point into NBFLUSH. Using this entry point causes
NBFLUSH to wait for a message from the posting process stating that the
task is complete before terminating.
filename
The file name of the shadowed file or log file as it appears in the NetBase
directory. The INFO string, including this parameter, should not be used
with the STOP or the STOPWAIT entry points.
node
This is the node number on which the shadow copy exists. Because a file
can be shadowed to more than one node, this parameter is useful in
directing NBFLUSH to the required node. If used with the STOP or the
STOPWAIT entry points, this is the node number for which all updates will
be flushed.
NBFLUSH acts as a means of marking the end of updates to the shadow copy of a file or database.
The program sends a message to the posting process for the specified shadowed file. The message
causes the posting process to close the shadow copy.