Declaration of numeric host variables in FORTRAN embedded SQL applications

Numeric 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 following illustrates the syntax for numeric host variables in FORTRAN.
Read syntax diagramSkip visual syntax diagramINTEGER*2INTEGER*4REAL*4REAL *8DOUBLE PRECISION,varname / initial-value / 
Numeric host variable considerations:
  1. REAL*8 and DOUBLE PRECISION are equivalent.
  2. Use an E rather than a D as the exponent indicator for REAL*8 constants.