Search found 217 matches

by TrevorGoss
Wed Sep 16, 2015 2:38 pm
Forum: IBM TM1, Planning Analytics, PAx and PAW
Topic: TM1ServerLogDirectory
Replies: 9
Views: 4523

Re: TM1ServerLogDirectory

Hello again,

how about calling a TI which calls the TI function GetProcessErrorFileDirectory() and prints the return value out to a flat file, then pick up that flat file and tada....there is your path.
by TrevorGoss
Wed Sep 16, 2015 2:02 pm
Forum: IBM TM1, Planning Analytics, PAx and PAW
Topic: TM1ServerLogDirectory
Replies: 9
Views: 4523

Re: TM1ServerLogDirectory

Ah ok, Looking for a way to determine the URL path to the log or data files folder for a specified server. A VBA equivalent of the TI function GetProcessErrorFileDirectory() You could still pass the server name as an argument and presuppose the rest of the path string? You could also open up the .cf...
by TrevorGoss
Wed Sep 16, 2015 1:43 pm
Forum: IBM TM1, Planning Analytics, PAx and PAW
Topic: TM1ServerLogDirectory
Replies: 9
Views: 4523

Re: TM1ServerLogDirectory

Hello, I am looking for a way to get the data or log files directory for a specified server in VBA code. Does anyone know if the above APi functionis the right thing to use and if so have any pointers on how to call it. What exactly do you mean by "to get the data or log files directory for a s...
by TrevorGoss
Wed Sep 16, 2015 7:40 am
Forum: IBM TM1, Planning Analytics, PAx and PAW
Topic: Chore running - general question
Replies: 11
Views: 6549

Re: Chore running - general question

No, it's not the API. It's on the server side. The APIs are on the client side. It's been discussed here before but you may be unaware of it because the process for implementing them has been so extensively "documented" in the way that IBM "documents" so many things. But start h...
by TrevorGoss
Wed Sep 16, 2015 7:25 am
Forum: IBM TM1, Planning Analytics, PAx and PAW
Topic: TM1 server memory usage jumped from 110GB to 150GB
Replies: 11
Views: 8954

Re: TM1 server memory usage jumped from 110GB to 150GB

which makes complete sense but in reality every restart it only takes up MORE RAM. I'm at 200GB now, I bet restarting now would surely bring it up to 210GB. How are you restarting the TM1 services? What about the Server? Have you tried restarting that? I agree with lotsaram, I do not think this is ...
by TrevorGoss
Wed Sep 16, 2015 7:19 am
Forum: IBM TM1, Planning Analytics, PAx and PAW
Topic: Chore running - general question
Replies: 11
Views: 6549

Re: Chore running - general question

or use TI to run Java via TI Java extension TI Java extension? I am yet to hear of this? Can you provide more information on this please? such as links? Or again, is this just the API? lol To run a TI outside of TM1 I just use the TM1RunTI.exe tool, but yes you can also use the APIs. Hi, I am worki...
by TrevorGoss
Tue Sep 15, 2015 7:59 am
Forum: IBM TM1, Planning Analytics, PAx and PAW
Topic: TM1 server memory usage jumped from 110GB to 150GB
Replies: 11
Views: 8954

Re: TM1 server memory usage jumped from 110GB to 150GB

Hello again, have you tried restarting the Server that contains all the TM1 windows services? This restart will cause all RAM to be released. How do I tell TM1 to give some of the 120GB garbage memory back? You can go to the }CubeProperties cube and set the VMM and VMT cells to the amount of memory ...
by TrevorGoss
Mon Sep 14, 2015 8:40 am
Forum: IBM TM1, Planning Analytics, PAx and PAW
Topic: Chore running - general question
Replies: 11
Views: 6549

Re: Chore running - general question

Another way is to use Java to kick off TI process if you use latest TM1.
How exactly would you use Java to kick off a TI Process? By latest TM1 do you mean 10.2 fix pack 3?

Thanks.

Trevor.
by TrevorGoss
Thu Sep 10, 2015 3:50 pm
Forum: IBM TM1, Planning Analytics, PAx and PAW
Topic: Chore running - general question
Replies: 11
Views: 6549

Re: Chore running - general question

You also need to be aware of the logs when you run chores that frequently. We use to have two chores running every minute, with each chore running a TI Process. This meant that every time we looked in the transaction log all we saw a lot of the time was the repeating logs of the minute chores. This ...
by TrevorGoss
Wed Sep 02, 2015 9:30 am
Forum: IBM TM1, Planning Analytics, PAx and PAW
Topic: TM1 C++ API issue
Replies: 20
Views: 12489

Re: TM1 C++ API issue

There are a couple counter-intuitive quirks of the API that are documented. http://www-01.ibm.com/support/knowledgecenter/SS9RXT_10.2.0/com.ibm.swg.ba.cognos.tm1_api.10.2.0.doc/c_threadsafety_n704c3.html%23ThreadSafety_N704C3 This one is basically saying if you share user handles (gotten from Syste...
by TrevorGoss
Tue Sep 01, 2015 3:36 pm
Forum: IBM TM1, Planning Analytics, PAx and PAW
Topic: TM1 C++ API issue
Replies: 20
Views: 12489

Re: TM1 C++ API issue

I have got it working with CAM now thanks. (Note: you can find the function declaration in TM1API.H. This can be a good source of undocumented function names for the C API. The declaration doesn't explain what all the params are, but sometimes a little trial and error can go a long way.) Good idea, ...
by TrevorGoss
Tue Sep 01, 2015 1:21 pm
Forum: IBM TM1, Planning Analytics, PAx and PAW
Topic: TI Process Error
Replies: 11
Views: 7638

Re: TI Process Error

Hello again, One way to avoid data is to use th ItemSkip function. Like this: If (ValueThatIsEmpty @=''); ItemSkip; EndIf; Replace "ValueThatIsEmpty" with the Variable that may give you an empty value, that way your TI will skip all the empty arguments in the source, without crashing.
by TrevorGoss
Tue Sep 01, 2015 1:14 pm
Forum: IBM TM1, Planning Analytics, PAx and PAW
Topic: TM1 C++ API issue
Replies: 20
Views: 12489

Re: TM1 C++ API issue

Success! I created code that gets the handle of the user and the server and then I test its connection: voDbHandle = TM1SystemServerHandle( hUser, sServerName ); if ( voDbHandle ){ std::cout << "Connected: " << sServerName << std::endl; }else{ std::cout << "Not Connected: " << sS...
by TrevorGoss
Tue Sep 01, 2015 12:38 pm
Forum: IBM TM1, Planning Analytics, PAx and PAW
Topic: TM1 C++ API issue
Replies: 20
Views: 12489

Re: TM1 C++ API issue

Hello Tom, thanks for the response. I have copied the code from that link in a new function and it returns no errors, but I am not sure if it was successful, my code: char * sAdminHost = "ABCDE12345"; TM1SystemAdminHostSet (hUser,(CHAR *) sAdminHost); // // Create Value Pools from strings ...
by TrevorGoss
Tue Sep 01, 2015 10:33 am
Forum: IBM TM1, Planning Analytics, PAx and PAW
Topic: TI Process Error
Replies: 11
Views: 7638

Re: TI Process Error

Hello again Amit,

I am glad I have helped but are you sure just ignoring the blanks in the TI code is the best approach? That dimension will still need an argument as part of the CellGetS call.
by TrevorGoss
Tue Sep 01, 2015 9:49 am
Forum: IBM TM1, Planning Analytics, PAx and PAW
Topic: TM1 Rule Last value in next level and hierarchy
Replies: 4
Views: 3520

Re: TM1 Rule Last value in next level and hierarchy

Hello, you have not included any files so it is difficult to understand the actual error. Have you made sure that the Area Definition is not over ruled by a rule above? Your statement: The problem is that the normal hierarchy for level year is overruled by the previous code. Makes me think that a ru...
by TrevorGoss
Tue Sep 01, 2015 8:26 am
Forum: IBM TM1, Planning Analytics, PAx and PAW
Topic: TI Process Error
Replies: 11
Views: 7638

Re: TI Process Error

Hello, Normally an invalid key means that the attempt to pass an argument into a selected dimension, is an attempt to pass an element that does not exist in that dimension. Your error is telling you that a blank element does not exist in the dimension, I would check your data at the source, make sur...
by TrevorGoss
Tue Sep 01, 2015 8:18 am
Forum: IBM TM1, Planning Analytics, PAx and PAW
Topic: TM1 C++ API issue
Replies: 20
Views: 12489

Re: TM1 C++ API issue

Hello again Brian, thanks for the reply. Unless I'm missing some code, you haven't actually attempted to connect (log in) to the server. You'll only get a handle back from TM1SystemServerHandle if you've already logged in. I would think this code: for( iServer = 1; iServer <= iServerCount; iServer++...
by TrevorGoss
Wed Aug 26, 2015 8:06 am
Forum: IBM TM1, Planning Analytics, PAx and PAW
Topic: Future of TM1 UIs and APIs (Was TM1 C++ API issue)
Replies: 14
Views: 10246

Re: Future of TM1 UIs and APIs (Was TM1 C++ API issue)

Just when I start to get it working, I hear rumors that it will no longer be supported lol. Alan has made me feel better about it though, Please choose to develop software with the TM1 API in C++ and Java only. It would be hard to turn around now and say "yeah, we didn't mean it, the Java API's...
by TrevorGoss
Tue Aug 25, 2015 8:10 am
Forum: IBM TM1, Planning Analytics, PAx and PAW
Topic: TM1 C++ API issue
Replies: 20
Views: 12489

Re: TM1 C++ API issue

This can often be caused by an SSL error. If you haven't yet, try copying the entire "ssl" folder from the TM1 bin directory into the same place as the dlls That worked, excellent thanks. Have you ever connected to a TM1 server with this API? My code: TM1SystemAdminHostSet(hUser,"ABC...