SQL/MP Programming Manual for COBOL
SQL/MP System Procedures
HP NonStop SQL/MP Programming Manual for COBOL—529758-003
5-26
SQLGETSYSTEMVERSION
error-info output
PIC S9(4) COMP
indicates the results of the SQLGETOBJECTVERSION call. If the call is 
successful, error-info is 0. If an error occurs, error-info contains the 
operating system or SQL error number. For a description of SQL errors, see the 
SQL/MP Messages Manual. 
SQLGETSYSTEMVERSION
The SQLGETSYSTEMVERSION procedure returns the version of the SQL file-system 
and disk-process components running on a specific node. For a specific node, you can 
assume that all SQL components are of the same PVU. 
If you request the version for a remote node, SQLGETSYSTEMVERSION returns 
information about the remote disk process. A successful call does not guarantee that 
SQL/MP is installed on the remote node. 
node-number optional input
PIC S9(4) COMP
is the node number for which you are requesting information. If you omit this 
parameter, SQLGETSYSTEMVERSION returns the version of the local node.
sql-version output
PIC S9(4) COMP
is the SQL/MP software version for the specified system. For information about 
versions of SQL/MP, see the SQL/MP Version Management Guide. 
Note. Although version 315 SQL/MP software supports the SQLGETOBJECTVERSION 
procedure, HP might not support this procedure in a future PVU. If you are running version 300 
(or later) SQL/MP software, use the GET VERSION statement to return the version of an SQL 
object. For information about this statement, see the SQL/MP Reference Manual.
ENTER TAL "SQLGETSYSTEMVERSION" USING
 [ node-number, ]
 sql-version
 GIVING error-info.










