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

Pathsend Procedure Call Reference
NonStop TS/MP Pathsend and Server Programming Manual132500
5-4
Calls From Pascal
Calls From Pascal
To invoke any of the procedures from within a Pascal program, you execute a statement
of the following form:
error
is a variable of type IO_Error_Number 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. The types of these variables
should be the Pascal types that correspond to the TAL variable types specified in the
Pathsend procedure-call description later in this section. For definitions of these
corresponding data types, refer to the information about mixed-language
programming and data-type correspondence in the Pascal Reference Manual.
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.
error := SERVERCLASS_SEND_ ( 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
,tag )