I've a database called as "SAMPLE" which is in Schema "Test".
I've created a DSN for this database using a login "db2admin".
Whenever I try to connect to this database, the schema is defaulted is "db2admin". To overcome this, the schema name has to be mentioned in the code which is accessing the database.
To avoid this hardcoding of schema name in the code, I'm looking for something like a parameter in DSN where in i can mention a default schema name.
I've tried using the CLISCHEMA option but it does not work.
Both the client and the database reside on windows env.
Yadu