Guardian System Procedures; Cextdecs Header File; Sql Message File; Table 5-1. Sql/Mp System Procedures - HP NonStop SQL/MP Programming Manual

For c
Table of Contents

Advertisement

SQL/MP System Procedures

Guardian System Procedures

In addition to the procedures in
Guardian procedures described in
and programs. For a detailed description of these procedures, see the Guardian
Procedure Calls Reference Manual.

Table 5-2. Guardian System Procedures That Return SQL Information

Procedure
FILE_GETINFO_
FILE_GETINFOBYNAME_
FILE_GETINFOLIST__
FILE_GETINFOLISTBYNAME_

cextdecs Header File

The cextdecs header file contains source declarations for the SQL/MP and Guardian
system procedures. Use the #include directive as shown in this example to copy the
declarations from the cextdecs header file for the procedures you want to call in your
program:
...
#include <cextdecs ( FILE_OPEN_,
...

SQL Message File

The SQLMSG file contains error messages, informational messages, and help text
used by SQLCI, the SQL compiler, and host-language programs. The default SQL
message file is $SYSTEM.SYSTEM.SQLMSG. A C program opens and reads the SQL
message file when it calls an SQL system procedure that returns error or status
information (for example, SQLCADISPLAY or SQLCATOBUFFER).
The SQLMSG file contains text in English. You can specify a different SQL message
file (for example, a file translated into French) with the =_SQL_MSG_node DEFINE.
HP NonStop SQL/MP Programming Manual for C—429847-008
Table 5-1
on page 5-1, a C program can also call the
Table 5-2
to return information about SQL objects
Description
Returns limited information, including the last error and
type, about a file using the file number.
Returns limited information about a file using the file
name.
Returns detailed information about a file using the file
number. Item codes 40, 82, 83, 84, and 85 apply to
NonStop SQL/MP.
Returns detailed information about a file using the file
name. Item codes 40, 82, 83, 84, and 85 apply to
NonStop SQL/MP.
READ,
WRITEREAD,
FILE_GETINFO_,
FILE_CLOSE_,
SQLCADISPLAY,
SQLCAFSCODE )> nolist
5-2
Guardian System Procedures
\
\
\
\
\
\

Advertisement

Table of Contents
loading

Table of Contents