Return Codes in the ODBC Extender
Keywords: return codes 0 -1
Question:
I'm running some ODBC code. The qAllocEnv function returns a positive number (handle), but the qAllocConnect
and other functions along the way return a 0. Does this mean it's failing or is this expected behavior?
Answer:
If qAllocConnect returns anything other than a -1, then that means it's a success. So a return
of a zero (0) means it's working!
Article ID: W14777
File Created: 2001:11:08:12:39:58
Last Updated: 2001:11:08:12:39:58