COGNOiSe.com - The IBM Cognos Community

Legacy Business Intelligence => COGNOS Transformer => Topic started by: cogman on 03 Apr 2008 12:05:56 PM

Title: Cube from a flat file
Post by: cogman on 03 Apr 2008 12:05:56 PM
Hi All:

I have created a cube from flat file.Is their anyway where i can define in the cube to add new dimension or level when their is change(adding or removing columns) in the source flat file.

Thank You
CM
Title: Re: Cube from a flat file
Post by: almeids on 03 Apr 2008 03:22:19 PM
If you mean automatically, no, though I suppose technically you could script something with a CognosScript macro and/or verb MDL.  You'd probably need field identifiers in your flat file to do something like that so you'd also have to strip those off before feeding it to Transformer, and would have to implement some sort of naming convewntion in those IDs so your script would know whether an addition was supposed to be a new level in an existing dimension or a new dimension.
Come to think of it I like my original answer best: no.
Title: Re: Cube from a flat file
Post by: Ty Clabbers on 04 Apr 2008 01:24:11 AM
You could try the autodesign option in transformer but then you would be the first one I know who likes that thing.
Title: Re: Cube from a flat file
Post by: almeids on 07 Apr 2008 08:42:53 AM
Ty, would you be referring to the "random dimension and measure generator?"
;D
Title: Re: Cube from a flat file
Post by: cogman on 10 Apr 2008 04:23:40 PM
Thanks Guys..I said big NO to my analyst ;D