Page 1 of 1

TM1RunTI Won't Work or Return Error

Posted: Sat Mar 10, 2018 6:11 am
by ptownbro
Just getting started on trying TM1RunTI. I've read the documentation and reviewed a few forum posts, but cannot get it to work. When I run it from a command prompt, I don't get an error or success message. Instead it just returns what appears to be help information.

Here's what I entered at the command prompt:

Code: Select all

c:\program files\ibm\cognos\tm1_64\bin64>tm1runti -i "c:\username\documents\MyTM1RunTI.ini"
Here's what is contained in the "MyTM1RunTI.ini" configuration file

Code: Select all

[TM1RunTI]
process="Build Dimension"
connect=Development

[Process - Build Dimension]
pDimName="MyDimension"

[Connect – Development]
adminhost="servername.sub.mydomain.com"
server="MyTM1ServerInstance"
user="admin"
pwd="apple"
Here's what it returned:

Code: Select all

tm1runti -?
  or tm1runti -help
  or tm1runt1 [<cmd_parm>...] [<ti_parm>...]

     where <cmd_parm> is one of:
          -i <filespec>
          -process <string>
          -chore <string>
          -connect <string>
          <connect_parm>...

     where <ti_parm> is:
          <parm_name> '=' <parm_value>

     where <connect_parm> is one of:
          -adminhost <string>
          -server <string>
          -user <string>
          -securitymode
          -retryattempts
          -retryinterval
          <password_parm>
          -AdminSvrSSLCertAuthority <filespec>
          -AdminSvrSSLCertID <id>
          -AdminSvrSSLCertRevList <filespec>
          -AdminSvrSSLExportKeyId <id>
          -ExportAdminSvrSSLCert <T|F>
          -CAMNamespace <string>

     where <password_parm> is one of:
          -pwd <string>
          -passwordfile <filespec> -passwordkeyfile <filespec>PA

Re: TM1RunTI Won't Work or Return Error

Posted: Sat Mar 10, 2018 4:41 pm
by Wim Gielis
Hello

Could it be the > in front of tm1runti ?

Re: TM1RunTI Won't Work or Return Error

Posted: Sat Mar 10, 2018 5:47 pm
by gtonkin
May be that your ini file is located in your user folder, to which the server has no access-try move it to a folder that the user who started the TM1 service has access to.

Re: TM1RunTI Won't Work or Return Error

Posted: Sun Mar 11, 2018 12:21 am
by ptownbro
The ">" in front of "tm1runti" is part of the command prompt and was not added by me.

I will try placing the file in another location and report back.

Re: TM1RunTI Won't Work or Return Error

Posted: Sun Mar 11, 2018 1:35 am
by ptownbro
Placing my configuration file in a location where the service has rights to didn't work. At least I don't think it did.

I placed the file in two places under the folder where my TM1 server instance resides. That folder looks like this

D:\TM1\MyTM1ServerInstance
D:\TM1\MyTM1ServerInstance\apps
D:\TM1\MyTM1ServerInstance\data
D:\TM1\MyTM1ServerInstance\logs
D:\TM1\MyTM1ServerInstance\tools

The service that is running that points to that instance has the following "Name" and "Log On As" values:

Name: IBM Cognos TM1 Server - MyTM1ServerInstance
Log On As: Local System

I placed the file under both the "tools" and "data" folder and got the same results.

I assume "Local System" has access to at least the data folder when running the service since that is where all the TM1 data resides.

Re: TM1RunTI Won't Work or Return Error

Posted: Sun Mar 11, 2018 3:45 am
by ptownbro
Geesh.

I figured it out. I was using an unassuming invalid character in my configuration file

In my configuration file below, the "-" was technically the wrong ASNI character in my text. I original copied an example from the user guide and edited it in my file. When I did that it must have used the wrong character for "-".

Code: Select all

[TM1RunTI]
process="Build Dimension"
connect=Development

[Process - Build Dimension]
pDimName="MyDimension"

[Connect – Development]
adminhost="servername.sub.mydomain.com"
server="MyTM1ServerInstance"
user="admin"
pwd="apple"

Re: TM1RunTI Won't Work or Return Error

Posted: Sun Mar 11, 2018 7:15 am
by Wim Gielis
Thanks for the update.