COGNOiSe.com - The IBM Cognos Community

IBM Cognos 10 Platform => Cognos 10 BI => Cognos Administration => Topic started by: danii64 on 28 May 2014 11:44:10 AM

Title: Cube Build with batch file
Post by: danii64 on 28 May 2014 11:44:10 AM
Hi All,

I'm having trouble executing a batch file to build a cube. I'm using script that is being used by previously created cube and these batch files are able to build cube with no problem.

but with this new cube i build its giving me an error ---Wed 28 May 2014 9:32:23 AM   2   00000000   ( TR3435 )Transformer couldn't open the file \...\test cube.pyj. [->OK]

the script I'm using is as below and I'm on cognos 10.1.1


rem ECHO OFF

cd "D:\Cognos\c10\bin"
cogtr.exe -c -g -l"Batch Signon" -n2 -nologo -m"\\\BI Models\Transformer Models\Production\test cube.pyj"


Any help is greatly appreciated.

Thank you!
Title: Re: Cube Build with batch file
Post by: saikrishna86 on 09 Jun 2014 05:17:13 AM
Try to access the path from Windows explorer, and verify whether you can access the file or not.?
Title: Re: Cube Build with batch file
Post by: Rita14 on 25 Jul 2014 09:04:21 AM
Here is working script:

D:
cd \IBM\c10\bin
cogtr.exe -n2 -s -g -m"E:\CogAdmin\Transformer_Sample_Models\GO_Sales.pyj"