I use pyodbc (http://code.google.com/p/pyodbc/) and my connection string is:
db = DAL('db2://DSN=MYDATABASE;UID=userid;PWD=password')
For other details you could read this thread
https://groups.google.com/d/topic/web2py/HMVE9S2a6sQ/discussion
I use pyodbc (http://code.google.com/p/pyodbc/) and my connection string is:
db = DAL('db2://DSN=MYDATABASE;UID=userid;PWD=password')
For other details you could read this thread
https://groups.google.com/d/topic/web2py/HMVE9S2a6sQ/discussion