yadutektips
IS-IT--Management
Hi,
I'm trying to query a table from my message broker. As the schemas are different,
Earlier, without the schema name, I was getting exceptions by my message flow.
To avoid this, I had to hard code the schema name in my code.
In order to avoid the hard coding, I added the CurrentSchema value in the Db2cli.ini file. Now, i'm not getting the exceptions but the query is returning nothing.
Both the database and the messge broker are on windows.
Below are the contents of the db2cli.ini file.
[SAMPLE]
CURRENTSCHEMA=SQLJ
DBALIAS=SAMPLE
UID=sampay
Help please!!!
TIA
Yadu
I'm trying to query a table from my message broker. As the schemas are different,
Earlier, without the schema name, I was getting exceptions by my message flow.
To avoid this, I had to hard code the schema name in my code.
In order to avoid the hard coding, I added the CurrentSchema value in the Db2cli.ini file. Now, i'm not getting the exceptions but the query is returning nothing.
Both the database and the messge broker are on windows.
Below are the contents of the db2cli.ini file.
[SAMPLE]
CURRENTSCHEMA=SQLJ
DBALIAS=SAMPLE
UID=sampay
Help please!!!
TIA
Yadu