COGNOiSe.com - The IBM Cognos Community

IBM Cognos 8 Platform => COGNOS 8 => BI Modeling (Transformer) => Topic started by: karthik.cognos on 07 Aug 2008 01:00:55 PM

Title: Batching 8.3 SP2 T/F cube build
Post by: karthik.cognos on 07 Aug 2008 01:00:55 PM
Can anyone tell me how to refresh a cube using batch scripting? I am on 8.3 SP2.

Thanks!
Title: Re: Batching 8.3 SP2 T/F cube build
Post by: karthik.cognos on 07 Aug 2008 01:25:26 PM
Hi, I wanted to update with some more info...We are using AD for authentication and this 8.3 environment is isolated with Series 7 environment.

I tried using the following command but no luck!
cogtr.exe -n2 -s -nologo -r4 -lsignon=<userid>/<pwd> <model.pyj>
Title: Re: Batching 8.3 SP2 T/F cube build
Post by: Cinu8 on 19 Aug 2008 11:05:31 AM
hi

try the below script from batch file

pushd "d:\program files\Cognos\c8\bin"

D:\progra~1\Cognos\c8\bin\cogtr.exe  -n  "your .mdl location"

popd "d:\program files\Cognos\c8\bin"

and let me know if it works

Title: Re: Batching 8.3 SP2 T/F cube build
Post by: karthik.cognos on 26 Aug 2008 08:43:23 AM
Hi, This is not working for me...I also tried this script but no luck...
cogtr.exe -n2 -s -r4 -lsignon=userid/password -kdatabasename=userid/password directory\model.pyj

Any thoughts would be appreciated!