Thursday, 27 August 2009
Saturday, 22 August 2009
Cognos Datamanager multi user Catalog
On opening the Catalog it does not copy the entire Catalog into memory. This would suggest that each user that opened and modified a catalog would overwrite his entire version each time he saved, thus making shared catalogs an impossibility.
This was suggested by COGNOS's recommendation for each user to have his individual version of the catalog.
What DM does:
DM reads the entire object tree at start up. If you change the name of an object in one session but not in another when you try to access you get
1. ERRORDM-CAT-0910 Export failed; JobStream 'LoadOrgExtractsToGroupTable' does not exist.--------------------------------------------------------------------------------
2. ERRORDM-CAT-0406 JobStream 'LoadOrgExtractsToGroupTable' cannot be validated.
This is a fatal error that takes you out of DM and hence explains Cognos' recommendation of individual versions of the catalog.
DM copies the catalog object by object into memory as they are accessed. When you 'Save' you write the altered versions of objects back to the database. I dont know if DM reads unaltered objects back from the database each time or whether it caches them.
What DM should do to allow multi user access to the same Catalog
DM should place a date modified at the root of the catalog tree and this should cause the tree to refresh if a version has an older version. All objects should be referred to by an internal code to prevent a name change causing confusion.
DM should never cache objects unless they are altered. When they are altered they should be locked on the database and other users should be able to view the object with a warning that they cannot alter it since someone else is altering it.
In the word of the Meerkat - ees simples for Cognos to sort out this major bugbear and misunderstood facet of the product.
Tuesday, 18 August 2009
FileRead funtion returns xFFFE though file is readable
Saturday, 8 August 2009
DM-DBM-0400 UDA-SQL-0564 SQLSTATE=08S01, SQLERRORCODE=0
DM-DBM-0400 UDA driver reported the following on connection Staging_db:
UDA-SQL-0564 [Microsoft OLE DB Provider for SQL Server]Connection failure (SQLSTATE=08S01, SQLERRORCODE=0)
Come out of the DM application and restart it.
Common DM Errors - leaving a variable declaration as CHARACTER 10
Catalog Restore does not work
What actually happens is:
Restores to the currently open catalog but gives it the catalog name of the restored catalog.
Actions required are an immediate renaming to the new catalog. If you go past this point you will have to remove the list of recently used catalogs since it uses the catalog name as the basis of this.
Thursday, 6 August 2009
DM-DBM-0400 UDA-SQL-0115 Inappropriate SQL request.
UDA-SQL-0115 Inappropriate SQL request.
UDA-SQL-0564 [Microsoft OLE DB Provider for SQL Server]Cannot drop the index 'dmcuser.tbl_Output_financials_Grouped.ix0tbl_Output_financials_Grouped', because it does not exist in the system catalog. (SQLSTATE=42S12, SQLERRORCODE=3703)
Solution - index should be created first - right click on the build and 'view DDL'. Under create index there will be SQL that you can run in your rdbms to create the required index .
DM-DLV-0070 Delivery 'xxx': the column 'period' (delivery element 'period') does not exist in the destination table
DM-EXP-0001 Identifiers are not allowed in this context.
You missed the $ off the variable or you copied the function example in and did not change the dummy arguments to real ones!
Saturday, 1 August 2009
Easy way to Debug Expressions
In the Additional options box, type the following string to invoke trace logging
-VEXP_TRACE_VALUES=BASIC,DATATYPE,VARIABLE,BUILTIN
Reduce the number of options if the output is too overwhelming.
The log does not appear in the console window. You have to go to View Logs and then you will see it with the same name as the original log but with _TRACE appended.
Friday, 31 July 2009
Data Manager Logmsg() not working, broken, failed
Cognos Datamanager aka ...
Cognos Datamanager
Cognos Data manager
Cognos Decision Stream
Cognos DM
IBM Cognos Datamanager
Data Mangler
Data Mgr aka Data Mugger
etc etc cont p.94
Test part of a calculation
Cognos Datamanager Comments for Variable and Derivation Calculations
Thursday, 30 July 2009
Data Delivery hangs for UPDATE refresh type
Import Package Avoid Prompts for Dependents
Wednesday, 29 July 2009
Length of Column output to Build Table
Tuesday, 28 July 2009
Creating a Primary Composite Key for DM Output Table
Tick all the keys you want in your primary key. Do not tick the index button against each column since this creates single indicies and will SLOW up the load.
Instead tick the Index box next to the Index Options.
If you open the index properties (right) then ensure you untick the suppress error when you are developing otherwise the index creation will fail without warning.
The index is not actually a primary key but a unique index since a primary key requires all non nullable columns.
Monday, 27 July 2009
Variables in Datamanager - Manual Unclear
PARISHILTON
parishilton
ParisHilton
are all equivalent.
1. Explicit Declaration of variables can be done at 6 levels.
The variable is visible and modifiable to all lower levels unless it is masked when a variable of the same name is declared at a lower level.
DM-BLD-0022 The domain size of 256 was exceeded on Dimension 'EmployeeNumber'
Saturday, 25 July 2009
IBM Datamanager training at Staines
The instructor, Salim, was excellent. The course emphasises Kimball and his methods of Warehousing. Not enough emphasis is placed on Variables and Functions which turn out to be an integral part of DM and only get one chapter.
Overall very good and the bacon butty with tabasco from the IBM canteen is a great way to start the day.
DM-EXP-0003 An expression validation error occurred
Unknown variable '$aperiod'.
Recheck the variable and in the function or calculation and you will find trailing blanks to remove.
Using Cognos Data Manager to produce TM1 cubes
Further info here
http://forums.olapforums.com/viewtopic.php?f=3&t=1269