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
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