COGNOiSe.com - The IBM Cognos Community

IBM Cognos 10 Platform => Cognos 10 BI => Transformer => Topic started by: EarthDog on 06 Nov 2014 05:45:18 AM

Title: Any way to batch convert all my pyj to mdl?
Post by: EarthDog on 06 Nov 2014 05:45:18 AM
Is there any tool /script which i can use to convert all my existing pyj to mdl?
Title: Re: Any way to batch convert all my pyj to mdl?
Post by: cognostechie on 24 Nov 2014 05:29:12 PM
Why? How many pyj's do you have? Close to a million ?
Title: Re: Any way to batch convert all my pyj to mdl?
Post by: EarthDog on 25 Nov 2014 02:23:00 AM
Quote from: cognostechie on 24 Nov 2014 05:29:12 PM
Why? How many pyj's do you have? Close to a million ?

:)

No mister i dont have a million. What i do want to have is git source control and i want to be able to add them there not as pyj but as mdl which is text..

So the logic would be to export them daily and let git do the rest...
Title: Re: Any way to batch convert all my pyj to mdl?
Post by: bdbits on 25 Nov 2014 09:13:53 AM
Not really an answer, but... While our version control system (TFS) likes text, it is fine with any file so we store Transformer pyj files directly. We do this for FM models as well. For us, there is just not a lot of value in the textual source when it comes to Cognos. We would just roll back a version if required.
Title: Re: Any way to batch convert all my pyj to mdl?
Post by: cognostechie on 25 Nov 2014 09:40:24 AM
I agree with bdbits. Moreover, putting the model in source control daily is unnecessary and can cause problems. Considering the fact that you are not going to change the model every day, you will have too many versions most of which would not even be different than others. It would become very difficult to determine which version you want to roll back to if the need arises
Title: Re: Any way to batch convert all my pyj to mdl?
Post by: EarthDog on 25 Nov 2014 12:54:38 PM
I wouldnt commit it every day.Only when it makes sense,following common git guidelines.

Also i like mdk because i can generate pyj from it in case i have a corrupted binary pyj and that is the reason why i want to keep the mdl in source control and not pyj....