Hi,
Do you have any syntax for building cubes in Linux.
I will post my syntax (.sh) later.
I just want to know if im doing it right.
Thanks!
Greetings!
In my previous job, I use to build my cubes in Unix and have access to the server to write my own code, but there is a seperate Admin group at my new job currently that does that job for me. However, I did find this for you:
http://public.dhe.ibm.com/software/data/cognos/documentation/docs/en/10.2.1/cogtr.pdf
This is make sure your on the right path.
Thanks
Charlie
Quote from: feds on 06 Feb 2014 11:41:48 PM
Hi,
Do you have any syntax for building cubes in Linux.
I will post my syntax (.sh) later.
I just want to know if im doing it right.
Thanks!
Very basic script...
#!/bin/bash
COGNOS_HOME=/usr/ibm/cognos
COGTR_DIR=/transformer/bin
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$COGNOS_HOME$COGTR_DIR
JAVA_HOME=/usr/java/jre1.5.0_12
export LD_LIBRARY_PATH JAVA_HOME
cd ${COGNOS_HOME}${COGTR_DIR}
cogtr -m/path/to/cube.mdl
The important things to remember are:
- Don't forget to export your java.
- Change to the <cognos_transformer>/bin directory BEFORE executing the cube build.