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
Unable to execute tm1runti with TI parameters in AIX environment
-
- MVP
- Posts: 3701
- Joined: Fri Mar 13, 2009 11:14 am
- OLAP Product: TableManager1
- Version: PA 2.0.x
- Excel Version: Office 365
- Location: Switzerland
Re: Unable to execute tm1runti with TI parameters in AIX environment
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)
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)
Please place all requests for help in a public thread. I will not answer PMs requesting assistance.
-
- Posts: 3
- Joined: Sun Dec 23, 2012 6:38 pm
- OLAP Product: TM1
- Version: 10.2.2
- Excel Version: 2013
Re: Unable to execute tm1runti with TI parameters in AIX environment
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.
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.
-
- Posts: 18
- Joined: Wed Sep 30, 2015 12:40 pm
- OLAP Product: TM1
- Version: 9.5.2+
- Excel Version: 2007
Re: Unable to execute tm1runti with TI parameters in AIX environment
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"
-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"
Emily Wilkins - Software Engineer
Motio, Inc.
Motio, Inc.
-
- Posts: 78
- Joined: Tue Nov 30, 2010 1:18 am
- OLAP Product: TM1
- Version: 10.2.2
- Excel Version: 2010
Re: Unable to execute tm1runti with TI parameters in AIX environment
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
RHR
-
- Posts: 3
- Joined: Sun Dec 23, 2012 6:38 pm
- OLAP Product: TM1
- Version: 10.2.2
- Excel Version: 2013
Re: Unable to execute tm1runti with TI parameters in AIX environment
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
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
-
- Posts: 78
- Joined: Tue Nov 30, 2010 1:18 am
- OLAP Product: TM1
- Version: 10.2.2
- Excel Version: 2010
Re: Unable to execute tm1runti with TI parameters in AIX environment
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
RHR