If you are unable to create a new account, please email support@bspsoftware.com

 

News:

MetaManager - Administrative Tools for IBM Cognos
Pricing starting at $2,100
Download Now    Learn More

Main Menu

Syntax for cube building in Linux

Started by sdf, 06 Feb 2014 11:41:48 PM

Previous topic - Next topic

sdf

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!

CharlesAZ

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

Grim

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.
"Honorary Master of IBM Links"- MFGF
Certified IBM C8 & C10 Admin, Gamer, Geek and all around nice guy.
<-Applaud if my rant helped! 8)