COGNOiSe.com - The IBM Cognos Community

IBM Cognos 10 Platform => Upgrading to Cognos 10 => Topic started by: BharatRedz on 02 Apr 2015 08:55:42 AM

Title: COGTR Throwing up an Error on STDERR
Post by: BharatRedz on 02 Apr 2015 08:55:42 AM
Hi All,
When executing the following bash script
$ cogtr -n "C:\Program Files\Models\Test.pyj" following message is generated
Transformer Version 10.2.6
The system cannot find the path specified

$

Is there any way i can avoid the bash script displaying the above two messages. As this is getting propogated to STDERR

Title: Re: COGTR Throwing up an Error on STDERR
Post by: MFGF on 13 Apr 2015 04:19:44 AM
Quote from: BharatRedz on 02 Apr 2015 08:55:42 AM
Hi All,
When executing the following bash script
$ cogtr -n "C:\Program Files\Models\Test.pyj" following message is generated
Transformer Version 10.2.6
The system cannot find the path specified

$

Is there any way i can avoid the bash script displaying the above two messages. As this is getting propogated to STDERR

Hi,

If you're using bash, that implies you are running Transformer on a unix server? Is that the case?

If so, a Windows path to the model file (C:\Program Files\Models\Test.pyj) isn't going to be valid. Replace the path with the appropriate unix path to the model location.

MF.