COGNOiSe.com - The IBM Cognos Community

Legacy Business Intelligence => COGNOS Transformer => Topic started by: Skidly on 26 Jul 2005 03:23:21 PM

Title: Cube Builds .pyi or .mdl
Post by: Skidly on 26 Jul 2005 03:23:21 PM
I am building cubes using .bat files.
Which is the best file to use for cube builds the .mdl or the .pyi file.
Title: Re: Cube Builds .pyi or .mdl
Post by: cognostechie on 26 Jul 2005 05:27:03 PM
I am not sure what you mean by .bat files. Those are usually batch files on Windows.

I have built a bunch of cubes from flat files and from databases and always used .pyi as the model file in Transformer and I think .mdl is the compiled version of .pyi which can be used to upgrade models from one version to another.

Edited : Sorry, I switched by mistake. .pyi is the compiled/encrypted file. 
Title: Re: Cube Builds .pyi or .mdl
Post by: Draoued on 27 Jul 2005 03:57:39 AM
Pyi are binary files, they are able to save the password. It seems that they are a bit faster than mdl files.
If you are making lots of changes in the Pyi , from time to time save it as MDL , and resave the mdl to Pyi. All the changes in the Pyi are making the Pyi bigger and bigger, by saving it to mdl then to pyi again , you are removing the un-necessary data from the pyi and making the pyi file smaller.

MDL files can be opened in notepad.
Recommandation if you are working with PYI, is to have always a backup in MDL. If the pyi is corrupted ( it happens ...) there is no way to fix it.

Have a look to this post (http://www.tek-tips.com/viewthread.cfm?qid=688096)
Title: Re: Cube Builds .pyi or .mdl
Post by: Skidly on 27 Jul 2005 11:17:57 AM
Thanks so much for the info.