I've recently setup an IBM DB2 Express C on my 64-bit server machine (Windows Server 2008). Before this, I've also set up the same thing on my 32-bit local machine (Windows 7).
I have a program on my local machine that uses ODBC to connect to said database. During the testing / development phase, I used the my local machine to house both the program, and the server, as I needed the portability. I could set up the ODBC fine on my local machine (although whether to use the normal or the DB2COPY1, I don't know), but upon setting up the connection on the program, it returns the error:
[IBM][CLI DRIVER] CLI0124E Invalid argument value. SQLSTATE=S1009
Here's a shot of the local ODBC:
Which is fine. I've tried using either of the IBM ODBC, to no avail.
Of note is that, upon using either one, I see no option to point the ODBC Connection to the server machine, either via IP Address or anything. Is there something else I can do, or am I stuck with using the local machine to contain both the program and the database? Ideally, the 32-bit local machine contains the 32-bit application, while the 64-bit server machine runs the database.
That said, my primary concern is figuring out what the error means, and how I can fix it. Figuring out how to get the program to work with the database over the network can come later.
Any help on the matter would be much appreciated, thanks.