Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

MDL script on Transformer

Status
Not open for further replies.

NetoMan

Programmer
Dec 4, 2000
1
MX
have somebody used MDL (Model Definition Language) on Cognos Transformer in order to do some tasks in automatic way...

I can´t update a PowerCube, and it seems the script made in MDL it´s ok. (as examples show). The scripts Opens very well Transformer File (*.pyg) but it doesn´t update the cube.

The script is very simple:

OPENPY "c:\development\cognos\new_trab_maq_afil_conc.pyg"
CUBEUPDATE "MyCube" GENERATE Yes

Is something missing ?

Thanks in advance
 
I have used MDL for other items, but usually use a command line to build cubes.
 
Firstly ensure that you have setup your data sources on the machine that you are building the cubes (ODBC). If your data sources are setup and things are still not working you could try the script below.

This is what we use and it works fine.

---------------------------

OPENpy "c:\development\cognos\new_trab_maq_afil_conc.pyg"
Createfiles
savepy "c:\development\cognos\new_trab_maq_afil_conc.pyg"

NewModel

----------------------------

Thanks

Paul
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top