Administrative API Reference

sqlgaddr - Get Address

Places the address of a variable into another variable. It is used in host languages, such as FORTRAN and COBOL, that do not provide pointer manipulation.

Authorization

None

Required Connection

None

Version

sqlutil.h

Generic API Syntax



/* File: sqlutil.h */
/* API: Get Address */
/* ... */
SQL_API_RC SQL_API_FN
  sqlgaddr (
    char * pVariable,
    char ** ppOutputAddress);
/* ... */
 

API Parameters

pVariable
Input. Variable whose address is to be returned.

ppOutputAddress
Output. A 4-byte area into which the variable address is returned.

Usage Notes

This API is used in the COBOL and FORTRAN languages only.

See Also

sqlgdref - Dereference Address.


[ Top of Page | Previous Page | Next Page ]