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

SQL Server Agent calling cogtr.exe ends with exit code 1

Started by qvixote, 10 Jul 2014 10:57:07 AM

Previous topic - Next topic

qvixote

Hello!

I have a batch file with this only one command:

c:\ibm\cognos\c10\bin\cogtr.exe -n2 -c -ju -g -lcso=myuser/mypassword -p"C:\Users\Administrador\Documents\Transformer\Model\DEIS_BI_ATENCION_URGENCIA\DBAU.pyj"


When I execute the batch file manually it works fine (create, update and deploy the cube as indicated in the command), but when I call it from a Operating System (CmdExec) step on a SQL Server Agent job, it fail with the following error message:

Executed as user: NT Service\SQLSERVERAGENT. IBM Cognos Transformer version 10.2.1003.25.  Process Exit Code 1.  The step failed.

The "IBM Cognos Transformer version 10.2.1003.25" part of the message is the output text that the command shows when executed manually. Can anyone give me an idea of what is failing, since the error message is not much useful.

Thanks.

qvixote

After searching the web with no results, and trying a lot of things, finally got this resolved. I had to give permissions to SQL Server Agent's Windows user (SQLSERVERAGENT) to access the cognos installation directory.