COGNOiSe.com - The IBM Cognos Community

IBM Cognos 8 Platform => COGNOS 8 => Topic started by: shilpahv on 19 Jun 2007 07:07:43 AM

Title: Need help on Cognos Cube Swap utility
Post by: shilpahv on 19 Jun 2007 07:07:43 AM
Hi All,


            We are working on the cognos cube swap utility and have tried the following options(mentioned in Cognos Support):


1. Edit the cognos/c8/webapps/utilities/cubeswap/cubeswap.bat file and change the JAVA_HOME, CRN_HOME paths if they are not the default, for example:

set JAVA_HOME=../../../bin/jre/1.3.1/
set CRN_HOME=../../../

To:

set JAVA_HOME=C:\Program Files\cognos\c8\bin\jre\1.4.2\
set CRN_HOME= C:\Program Files\cognos\c8\


2. Open a Command Prompt and navigate to the cognos/c8/webapps/utilities/cubeswap directory.


3. The following arguments were passed in the cmd prompt

     
-dispatchername="http://10.229.128.248:9300" -datasource=datasourcename -url="http://10.229.128.248:9300/p2pd/servlet/dispatch" -windowscube=location of the new cube.

While these arguments are passed through the script, we are getting the following error-


"The file name, directory name or the volume label syntax is incorrect"

But while passing it through the command line we don’t get any exit codes or error messages, but the updated cube is not getting reflected in the portal.

Please let us know the possible solutions



Regards
Title: Re: Need help on Cognos Cube Swap utility
Post by: golep on 20 Jun 2007 04:58:34 AM
Hi,

your -windowscube=location of the new cube have to be under quotes and should contain cube name ex. "-windowscube=program files\test\test.mdc"

also -datasourcename should be under quotes if name has spaces or some other special caracters

hope it was helpfull