TACL Reference Manual

Built-In Functions and Variables
HP NonStop TACL Reference Manual429513-018
9-381
#SSINIT Built-In Function
many response records as can fit in the buffer, each enclosed in a list. If you
omit this option, it defaults to zero.
OBJECT num
is the object type. If you omit this option, it defaults to
ZSPI^VAL^NULL^OBJECT^TYPE (zero).
SERVERVERSION num
is the server version number, normally provided only by subsystems or by
other programs or functions that act as servers. This number is a 16-bit
unsigned integer value representing the RVU of the subsystem or server.
SSINIT puts this value in the header token ZSPI^TKN^SERVER^VERSION for
use in RVU compatibility checking. If you omit this option, the server RVU
defaults to zero.
Result
#SSINIT returns a numeric status code indicating the outcome of the SSINIT
procedure, as follows:
Consideration
For the SSID parameter, you generally use the subsystem ID defined by the target
subsystem. For most subsystems, the subsystem ID has a name of the form
subsys^VAL^SSID.
Example
Here is an example using the TMF subsystem:
#SSINIT buf [ZTMF^VAL^SSID] [ZSPI^VAL^GETVERSION]
Code Condition
0 No error
-2 Invalid parameter value
-3 Missing parameter
-4 Invalid parameter address
-5 Buffer full
-7 Internal error
-10 Invalid subsystem ID
-12 Insufficient stack space