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 product begin with an underscore. To avoid conflicting with internal 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 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 OneDB™ GLS User's Guide.

Tip: Good programming practice requires that you create a naming convention for host-variable names.