COGNOiSe.com - The IBM Cognos Community

IBM Cognos 8 Platform => COGNOS 8 => BI Modeling (Transformer) => Topic started by: churchy on 14 Mar 2008 08:35:55 AM

Title: Error using cubeswap
Post by: churchy on 14 Mar 2008 08:35:55 AM
Hi,
I am trying to refresh my cube using cubeswap, but i get this error when i run it:

"Error: new cube file  doesn't exist.
Please check the new cube file to make sure the file name and location are correct."

My command is:

cubeswap -windowscube "C:\TEMP\samplecube.mdc" -datasource=SampleCube -Dispatchername "http://localhost:9300" -url "http://localhost:9300/p2pd/servlet/dispatch"

Path C:\TEMP exists, and i test datasource "SampleCube" at cognos connection and it works.
It's supposed that -windowscube parameter state the file path of the NEW cube, why is the error telling me that the new cube file doesnt exist???

I havent done any change on cubeswap.bat, i think its properly configured as is.

Thanks
Title: Re: Error using cubeswap
Post by: Ty Clabbers on 20 Mar 2008 09:28:48 AM
I think you re missing the equal sign inbetween the parameter name and the cubename (-windowscube="C:\TEMP\samplecube.mdc")