Ch 3. Host Variables [ ALLBASE/SQL C Application Programming Guide ] MPE/iX 5.0 Documentation
ALLBASE/SQL C Application Programming Guide
Chapter 3 Host Variables
Host variables are variables used to pass the following information
between an application program and ALLBASE/SQL:
* Data values.
* Null value indicators.
* String truncation indicators.
* Bulk processing rows to process.
* Dynamic commands.
* Savepoint numbers.
* Messages from the ALLBASE/SQL message catalog.
* DBEnvironment names.
All host variables used in a C program must be declared in declaration
parts of the program. The type descriptions of host variables must be
compatible with ALLBASE/SQL data types. The type descriptions of host
variables must also satisfy certain preprocessor criteria.
This chapter identifies where in a C program you can use host variables
and then discusses how to write type descriptions that complement the way
host variables are used. See the chapter, "Simple Data Manipulation",
for a sample program that uses host variables.
MPE/iX 5.0 Documentation