Opening connection to database with ODBCOpen
Posted: Tue May 15, 2012 3:15 pm
Hi all,
using 9.5.2 on 64 bit server
I am trying to publish data from a TM1 cube to a SQL table in the datawarehouse and falling at the first hurdle...ODBCOpen.
I have the following code in the prologue tab of a TI:
When I run the TI to check that this works I get a message saying unable to open database.
I have successfully created many TI's on this server that bring data into TM1 from another SQL database that is part of the same datawarehouse (COLUMBUS_TM1_SOURCE_DATA) using the Data Source/ODBC script of TI. I always leave Username and Password blank as it uses windows single sign on. Therefore I assumed the following when creating this new process to publish data to the datawarehouse:
1. I could use the same credentials
2. I must have the correct 64 bit drivers installed for the original TI's to work that bring the data into TM1.
I have tried hardcoding username and password but still get the same error.
I have tried looking through the documentation but using ODBC as a data source is much better documented than using ODBC to publish data from TM1!
Any help would be much appreciated.
Cheers
using 9.5.2 on 64 bit server
I am trying to publish data from a TM1 cube to a SQL table in the datawarehouse and falling at the first hurdle...ODBCOpen.
I have the following code in the prologue tab of a TI:
Code: Select all
ODBCOpen('COLUMBUS_TM1_PUBLISH','','');
I have successfully created many TI's on this server that bring data into TM1 from another SQL database that is part of the same datawarehouse (COLUMBUS_TM1_SOURCE_DATA) using the Data Source/ODBC script of TI. I always leave Username and Password blank as it uses windows single sign on. Therefore I assumed the following when creating this new process to publish data to the datawarehouse:
1. I could use the same credentials
2. I must have the correct 64 bit drivers installed for the original TI's to work that bring the data into TM1.
I have tried hardcoding username and password but still get the same error.
I have tried looking through the documentation but using ODBC as a data source is much better documented than using ODBC to publish data from TM1!
Any help would be much appreciated.
Cheers