Page 1 of 1

Unable to execute tm1runti with TI parameters in AIX environment

Posted: Tue Jun 14, 2016 12:36 pm
by papisetti
Hello,

We are trying to execute the following command in AIX

/usr/ibm/cognos/tm1_64/bin64/tm1runti.exe -process processname -adminhost adminhostname -server tm1servername -user username -CAMNamespace namespace -pwd password tiparam = value


we are able to execute a process when there is no need to pass the parameter to the process. However, if any process has parameter to be passed then we are seeing an issue.
Command runs fine but it doesn't pass the ti parameter value to the process. So the process runs taking the default value of parameter.

Could someone suggest, how to resolve this?

Thanks

Re: Unable to execute tm1runti with TI parameters in AIX environment

Posted: Tue Jun 14, 2016 4:55 pm
by lotsaram
1/ Spaces are used to delimit the parameters, remove the spaces
2/ If the parameters are of type string and contain a space you need to enclose the value within double-quotes (but best to simply always use quotes for string params)

This is covered in the TM1RunTI documentation(which is actually quite good and complete)

Re: Unable to execute tm1runti with TI parameters in AIX environment

Posted: Thu Jun 16, 2016 10:14 am
by papisetti
Thanks lotsaram for your response.

Do you mean I should be removing space after the password i.e.

-pwd passwordtiparam = value

If not, how should the command be re-written. Please let me know.

Regarding your 2nd point, there are no spaces in the parameter value.

Re: Unable to execute tm1runti with TI parameters in AIX environment

Posted: Thu Jun 16, 2016 9:17 pm
by jwilkins
I believe he means the spaces around the "=". As in
-pwd password tiparam=value

and if value happened to be the string 'value with spaces' you would have to quote the value. As in
-pwd password tiparam="value with spaces"

Re: Unable to execute tm1runti with TI parameters in AIX environment

Posted: Tue Jun 21, 2016 11:01 pm
by failurehappening
This is an example of a runti command that we use on linux

Code: Select all

"/opt/ibm/tm1/bin64/tm1runti.exe" -Process "Process Name with Spaces" -Adminhost tm1admin.here.com -Server "TM1 server name" -CAMNamespace NameSpace -User "ServiceAccount" -passwordfile "/opt/ibm/tm1/bin64/tm1ciphersvc.dat" -passwordkeyfile "/opt/ibm/tm1/bin64/tm1keysvc.dat" "pStringParameter"="StringValue" "pNumericParamter"=666

Re: Unable to execute tm1runti with TI parameters in AIX environment

Posted: Sat Jul 02, 2016 11:55 am
by papisetti
Thanks All for your help

placing the process parameter immediately after -process processname worked for me in AIX. Here is how it looks

/usr/ibm/cognos/tm1_64/bin64/tm1runti.exe -process "ProcessName" pStringParameter='StringValue' -adminhost adminhostname -server tm1servername -user ServiceAccount -CAMNamespace NameSpace -pwd password

Re: Unable to execute tm1runti with TI parameters in AIX environment

Posted: Mon Jul 11, 2016 5:29 am
by failurehappening
Interesting that your enclosing the value of your string parameter in single quotes and not double, is that correct or a typo?
papisetti wrote:Thanks All for your help

placing the process parameter immediately after -process processname worked for me in AIX. Here is how it looks

/usr/ibm/cognos/tm1_64/bin64/tm1runti.exe -process "ProcessName" pStringParameter='StringValue' -adminhost adminhostname -server tm1servername -user ServiceAccount -CAMNamespace NameSpace -pwd password