TS/MP Pathsend and Server Programming Manual (H06.05+, J06.03+)

To use the Pathsend procedures in a Pascal program, you must first have named them in a SOURCE
PEXTDECS compiler directive. For further information, refer to the Pascal Reference Manual.
Calls From TAL or pTAL
To invoke any of the procedures from within a TAL or pTAL program, you execute a statement of
this form:
(pathmon-process-name
error := SERVERCLASS_SEND_
,pathmon-process-name-len
,server-class-name
,server-class-name-len
,message-buffer
,request-len
,maximum-reply-len
,actual-reply-len
,timeout
,flags
,scsend-op-num
,tag );
error
is an integer variable defined earlier in your data declarations.
pathmon-process-name, pathmon-process-name-len,
server-class-name, server-class-name-len, message-buffer,
request-len, maximum-reply-len, actual-reply-len, timeout,
flags, scsend-op-num, and tag
are variables defined earlier in your data declarations, with types as specified in
the Pathsend procedure-call description later in this section.
To use the Pathsend procedures in a TAL or pTAL program, you must first have named them in a
SOURCE EXTDECS compiler directive. For further information, refer to the TAL Programmer’s Guide.
SERVERCLASS_DIALOG_ABORT_ Procedure
The SERVERCLASS_DIALOG_ABORT_ procedure aborts the specified dialog.
A call to SERVERCLASS_DIALOG_BEGIN_ to begin a dialog must be matched by a call to
SERVERCLASS_DIALOG_ABORT_ or SERVERCLASS_DIALOG_END_ at the end of the dialog.
Syntax
The syntax of the SERVERCLASS_DIALOG_ABORT_ procedure is:
! ierror := SERVERCLASS_DIALOG_ABORT_ ( dialog-id );
error returned value
INT
returns an error word containing one of these values:
(FEOK) indicates that the call was successful.0
(FESCErr) indicates that an error occurred. You can call the SERVERCLASS_SEND_INFO_ procedure to get more
detailed information about the error.
23
nl
3
inputdialog-id
INT(32):value
78 Pathsend Procedure Call Reference