title: IBM CLI Driver - Invalid argument value
body: <p>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).</p>
  
  <p>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:</p>
  
  <p>[IBM][CLI DRIVER] CLI0124E Invalid argument value. SQLSTATE=S1009</p>
  
  <p><img src="https://i.stack.imgur.com/SR710.png" alt="FAIL"></p>
  
  <p>Here's a shot of the local ODBC:</p>
  
  <p><img src="https://i.stack.imgur.com/w7Ato.png" alt="SUCCESS"></p>
  
  <p>Which is fine. I've tried using either of the IBM ODBC, to no avail.</p>
  
  <p><img src="https://i.stack.imgur.com/iXmou.png" alt="TWINS"></p>
  
  <p>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.</p>
  
  <p><img src="https://i.stack.imgur.com/MCBrn.png" alt="YOU SHALL NOT PASS"></p>
  
  <p>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.</p>
  
  <p>Any help on the matter would be much appreciated, thanks.</p>