If you are unable to create a new account, please email support@bspsoftware.com

 

News:

MetaManager - Administrative Tools for IBM Cognos
Pricing starting at $2,100
Download Now    Learn More

Main Menu

Any way to batch convert all my pyj to mdl?

Started by EarthDog, 06 Nov 2014 05:45:18 AM

Previous topic - Next topic

EarthDog

Is there any tool /script which i can use to convert all my existing pyj to mdl?

cognostechie

Why? How many pyj's do you have? Close to a million ?

EarthDog

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...

bdbits

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.

cognostechie

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

EarthDog

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....