COGNOiSe.com - The IBM Cognos Community

IBM Cognos 8 Platform => COGNOS 8 => Framework Manager => Topic started by: TheWatcher on 27 Aug 2008 11:48:26 AM

Title: Data source duplication in Framework Manager.
Post by: TheWatcher on 27 Aug 2008 11:48:26 AM
Hello all.
I've encountered an issue here with my Framework Manager.
When I look at the data source Query Subjects, all of the syntax is:
Select * from [dataSourceName].tableName
When I 'Test" the Query Subjects, I get all of the columns with the first 25 rows returned .. no mystery so far.

If I delete the above sql from the 'SQL' tab and expand the dataSourceName (+) in the 'Available database objects:' frame, to the origin of the tableName, then drag the table across to the 'SQL' frame, I get:

Select * from [dataSourceName1].tableName

Notice that there is now a 1 appended to the original datasourceName.
Where is that comming from??
I've not edited the dataSource that I'm aware of, and the original 'dataSourceName' would seem to be pointing at my Oracle target.
Any suggestions?
Thanks as always.
-D.
Title: Re: Data source duplication in Framework Manager.
Post by: blom0344 on 27 Aug 2008 02:08:34 PM
Cognos adds a new datasource (increment) if you add objects in a additional session. Simply delete the newly added datasource and correct the expression.

non-official hint : modify the model.xml with a text-editor if you need to make many adjustments
Title: Re: Data source duplication in Framework Manager.
Post by: Ty Clabbers on 28 Aug 2008 01:34:53 AM
Basicly you get this if you don't have the schema name filled in your original framework "data source". If your data comes from one schema in your database i suggest you fill the property with that schema name. Is saves time. It also saves you from the need for synonyms and thus for potential errors (and I know forgetting to create a synonym is a common mistake).