TS/MP 2.5 Pathsend and Server Programming Manual

The procedure identifies the server-class for the system and returns a dialog identifier for subsequent
dialog operations. A SERVERCLASS_DIALOG_BEGINL64_ call must be matched by a
SERVERCLASS_DIALOG_ABORT_ or SERVERCLASS_DIALOG_END_ call at the end of the dialog.
The completion of this processing that is, getting the final outcome (success or failure) and, if
successful, the reply data occurs in one of the two ways, depending on whether the send operation
is initiated as waited or nowait:
The SERVERCLASS_DIALOG_BEGINL64_ procedure performs initiation and completion for
waited send operations.
The SERVERCLASS_DIALOG_BEGINL64_ procedure performs initiation for nowait send
operations, and completion is performed by calling the FILE_AWAITIO64_ procedure.
NOTE: Messages greater than 32 KB in size are supported only on Expand-over-Servernet.
Syntax
The syntax of the SERVERCLASS_DIALOG_BEGINL64_ procedure is:
error := SERVERCLASS_DIALOG_BEGINL64_
! o
! i:i
( dialog-id
,pathmon-process-name:length
! i:i,server-class-name:length
! i:o,message-buffer
! i,[ reply buffer ]
! i,request-len
! o,maximum-reply-len
! i,[ actual-reply-len ]
! i,[ timeout ]
! o,[ flags ]
! i
! i
,[ scsend-op-num ]
,[ tag ] );
returned valueerror
INT
returns an error containing one of these values:
0
(FEOK) indicates that the call was successful and the server has ended the dialog.
70
(FEContinue) indicates that the call was successful and the server is ready for the next message in
the dialog.
233
(FESCErr) indicates that an error occurred. You can call the SERVERCLASS_SEND_INFO64_ procedure
to get more detailed information on the error.
outputdialog-id
INT(32).EXT64
returns an identifier that can be used for subsequent operations on this dialog.
This is a mandatory parameter.
input:inputpathmon-process-name:length
STRING:ref:EXT64:*, INT:value
SERVERCLASS_DIALOG_BEGINL64_ Procedure 101