Previous Topic

Next Topic

Limitations of the Declare Section

The ESQL declare section does not allow some of the statements to declare variables as found in the C language. The limitations of the declare section are listed below:

  • Referring to names declared in typedef statements is not allowed in the declare section. Such names are unknown to the ESQL precompiler. Hence, their use would result in an error condition.
  • Declaration of a variable to be of a STRUCTURE type is not allowed.
  • Declaring pointers as host variables is not allowed.
  • Declaring the VARCHAR type in the declare section is not allowed. Instead, CHAR type is to be used.