Host variable names
The name of the host variable must conform to the naming conventions of the C language. In addition, you must follow any limitations that your C compiler imposes.
In general, a C variable must begin with a letter or an underscore
(_) and can include letters and digits and underscores.
Important: Many variable names used in the implementation of
the IBM®
Informix® ESQL/C product
begin with an underscore. To avoid conflicting with internal Informix
ESQL/C variable names,
avoid the use of an underscore for the first character of a variable
name.
The C variable names are case-sensitive, so the variables hostvar and HostVar are distinct.
You can use non-ASCII (non-English) characters in Informix ESQL/C host-variable names if your client locale supports these non-ASCII characters. For more information about how the client locale affects host-variable names, see the HCL Informix GLS User's Guide.
Tip: Good programming practice requires that you create
a naming convention for host-variable names.