TS/MP Pathsend and Server Programming Manual (G06.24+, H06.03+)

Pathsend Procedure Call Reference
NonStop TS/MP Pathsend and Server Programming Manual132500
5-10
Syntax
flags.<15>
with a value of 1 indicates that this operation is to be performed nowait. A value
of 0 indicates that this operation is to be performed waited. The default is 0.
flags.<14>
if set to 0, selects the one-transaction-per-dialog model. In this model, the
dialog records the transaction identifier that is current at the time of the
SERVERCLASS_DIALOG_BEGIN_ call. Subsequent
SERVERCLASS_DIALOG_SEND_, SERVERCLASS_DIALOG_ABORT_,
and SERVERCLASS_DIALOG_END_ calls that use the returned dialog-id
must specify this transaction identifier, or the calls will fail.
ENDTRANSACTION will fail unless the dialog has been ended (not aborted).
When this bit is set to 0, the TMF subsystem treats a dialog like an I/O
operation: the ENDTRANSACTION operation fails until the dialog has
finished. The same restriction applies to a nested server (a server that receives a
request and then becomes a requester to other servers): if a server receives a
message in a dialog and then initiates a dialog with another server, it must
complete the entire initiated dialog before replying to the message from the
received dialog.
A value of 1 selects the any-transaction-per-dialog model. In this model, all
server-class send operations within the dialog will contain the transaction
identifier that is current at the time of the send, and there are no restrictions on
ENDTRANSACTION other than those associated with calls to the
WRITEREAD procedure.
The default is 0.
flags.<0:13>
must be 0.
scsend-op-num output
INT:ref:EXT:1
returns the server-class send operation number. You can use the server-class send
operation number in place of the file-number parameter in calls to CANCEL,
CANCELREQ, and AWAITIOX for nowait sends, and in calls to FILEINFO for
waited and nowait sends, to indicate that the calls refer to server-class send
operations. The value of scsend-op-num is determined on the first successfully
initiated nowait send. This value is returned on every subsequent nowait send that is
initiated successfully. A value of -1 is returned for nowait sends that are not
initiated successfully. A value of -1 is always returned for waited sends.
See Server-Class Send Operation Number
later in this section for more information
about the server-class send operation number.
tag input
INT(32):value