I’ve been working on getting MS SQL Server connected to Cognos on System z. I just installed Virtual View Manager this morning, however I’m getting the following Java Script errors when clicking on the menu tabs(Monitoring, Logging, Users, Configuration). It leaves VVM virtually(no pun intended) unusable!
I’ve configured and tested those two successfully but now I’m getting this error message when setting up the Cognos Connection:
QE-DEF-0285 The logon failed.
QE-DEF-0323 The DSN(ODBC)/ServiceName is invalid. Either the DSN is missing or the host is inaccessible.
RQP-DEF-0068 Unable to connect to at least one database during a multi-database attach to 1 database(s) in:
UDA-SQL-0031 Unable to access the “testDataSourceConnection” database.
UDA-SQL-0532 Data Source is not accessible: “MyDSN”.
[iODBC][Driver Manager]Data source name not found and no default driver specified. Driver could not be loaded
hmmm looks like your driver could not be loaded is the root cause of this…
i have not done much with VVM but much more with Composite server and this kind of configurations. I found some similar docs concering Composite.
Hope this helps somehow… :-\
Verify that all required environment variables has been set. Unix environment variables are case sensitive.
Logon to unix using the same user you used to install Composite software.
Set the following environment variables.
Location where the driver is installed. This is the full path to the installation directory.
Full path to the file odbc.ini, which is auto-generated during installation. This should be: <installation_directory>/odbc.ini
Full path to the file odbcinst.ini, which is auto-generated during installation. This should be: <installation_directory>/odbcinst.ini
This is specific to Solaris-based machines. This path refers to the location of the iodbc driver manager files. The default location is: <installation_directory>/apps/odbc/lib
This is specific to AIX-based machines. This path refers to the location of the iodbc driver manager files. The default location is: <installation_directory>/apps/odbc/lib
This is specific to HP-UX-based machines. This path refers to the location of the iodbc driver manager files. The default location is: <installation_directory>/apps/odbc/lib
Need to use driverConfig from Composite ODBC installation to configure a DSN on the Cognos8/ReportNet server.
Add SQL Server data source to Composite Information Server.
Ensure the ODBC component of Composite Information Server is installed on the Cognos 8 machine.
Ensure the following ENV variables are set on the ODBC component installation.
a. ODBCINI - //odbc.ini
b. ODBCINSTINI - //odbcinst.ini
d. LD_LIBRARY_PATH (Solaris/Linux) - //apps/odbc/lib
e. LIBPATH (AIX) - //apps/odbc/lib
f. SHLIBPATH (HPUX) - //apps/odbc/lib
Navigate to /apps/odbc/bin/
driverConfig menu will be displayed.
a. Select 3 (Create/Edit DSN)
Select 1 (Create)
Enter the required information: DSN Name, Driver (default), Host (ip/machine name for location of Composite server), Username (admin), Password (admin), Domain (Composite), Datasource, Catalog
Verify information and save or recreate.
Testing the DSN will not be available due to limited licensing of CIS.
In Cognos Connection, create data source using the DSN created with driverConfig above.