COGNOiSe.com - The IBM Cognos Community

IBM Cognos 10 Platform => Cognos 10 BI => Transformer => Topic started by: sdf on 06 Feb 2014 11:41:48 PM

Title: Syntax for cube building in Linux
Post by: sdf 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!
Title: Re: Syntax for cube building in Linux
Post by: CharlesAZ on 17 Feb 2014 06:56:29 PM
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
Title: Re: Syntax for cube building in Linux
Post by: Grim on 18 Feb 2014 11:13:35 AM
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: