Declaration of large object locator type host variables in FORTRAN embedded SQL applications
Large Object (LOB) locator type
host variables that you declare in your embedded FORTRAN application
are treated as if they were declared in a FORTRAN program. Host variables
allow you to exchange data between the embedded application and the
database manager.
The syntax for declaring large object (LOB) locator host variables in FORTRAN is:
LOB locator host variable considerations:
- GRAPHIC types are not supported in FORTRAN.
- SQL TYPE IS, BLOB_LOCATOR, CLOB_LOCATOR can be either uppercase, lowercase, or mixed.
- Initialization of locators is not permitted.
CLOB locator example (BLOB locator is similar):
Declaring:
SQL TYPE IS CLOB_LOCATOR my_locator
Results in the generation of the following declaration:
integer*4 my_locator