Open Client makes use of a wide variety of other symbolic constants. Many Client-Library routines use symbolic constants as input and output parameter values.
Table 2-2 lists some of the symbolic constants used in Open Client:
Symbolic constant |
Meaning |
---|---|
CS_FAIL |
A return code indicating failure |
CS_FALSE |
A Boolean false value. |
CS_MAX_NAME |
The maximum column name length allowed by Adaptive Server Enterprise. |
CS_NULLTERM |
CS_NULLTERM passed as a buffer’s length indicates that the value contained in the buffer is null-terminated. |
CS_SUCCEED |
A return code indicating successful execution of a library call. |
CS_TRUE |
A Boolean true value. |
The underlying values of symbolic constants may change from version to version. For this reason, Client-Library application programmers should always code using the symbolic constants themselves and not their underlying values.