I have an interesting situation.
I am trying to compile and run simple DB2 database connection sample program. I am able to compile and run that sample program.
But, I am getting an error from SQLAllocHandle function that is used in the begining of that sample program to allocate the environment handle. I don't know how to diagnose this. The exact return value of this function, that I am getting is SQL_ERROR i.e. -1.
Can anybody help me please ?
I am trying to compile and run simple DB2 database connection sample program. I am able to compile and run that sample program.
But, I am getting an error from SQLAllocHandle function that is used in the begining of that sample program to allocate the environment handle. I don't know how to diagnose this. The exact return value of this function, that I am getting is SQL_ERROR i.e. -1.
Can anybody help me please ?