Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
ALLBASE/SQL C Application Programming Guide: HP 3000 MPE/iX Computer Systems

Chapter 3 Host Variables

» 

Technical documentation

Complete book in PDF
» Feedback
Content starts here

 » Table of Contents

 » Index

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.

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© Hewlett-Packard Development Company, L.P.