COGNOiSe.com - The IBM Cognos Community

IBM Cognos 10 Platform => Cognos 10 BI => Transformer => Topic started by: danii64 on 28 May 2014 11:42:26 AM

Title: Cube build with Batch File
Post by: danii64 on 28 May 2014 11:42:26 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: orbair on 29 Aug 2014 03:04:06 AM
Hi danii64

Do you still have this problem? Do you have enough rights to that folder where the .pyj file is located? Is the signon setup correctly?

Title: Re: Cube build with Batch File
Post by: jeffgrace on 04 Sep 2014 09:18:50 AM
I'm new at all this, but I thought you needed to use the syntax -p instead of -m for pyj files.