Search found 11 matches

by MartinBrandl
Wed Jun 13, 2012 11:23 am
Forum: IBM TM1, Planning Analytics, PAx and PAW
Topic: Maximum Number of Characters for a Text Cell?
Replies: 4
Views: 8048

Re: Maximum Number of Characters for a Text Cell?

From the TM1-API:
TM1_STRING A character string whose length does not exceed 64K bytes.
Since you can pass a TM1_String into the write function TM1CubeCellValueSet, I suppose that the maximum number of characters is
64.000 for ANSI and 32.000 (64K / 2 Bytes) for Unicode (UTF16).
by MartinBrandl
Wed Feb 01, 2012 3:13 pm
Forum: IBM TM1, Planning Analytics, PAx and PAW
Topic: Return value of TM1SystemBuildNumber
Replies: 6
Views: 5928

Re: Return value of TM1SystemBuildNumber

I hope with the delay of TM1 10.1 that this trend has been bucked. After all this is first major version release under the IBM stewardship.
I hope so too.
by MartinBrandl
Wed Feb 01, 2012 2:26 pm
Forum: IBM TM1, Planning Analytics, PAx and PAW
Topic: Return value of TM1SystemBuildNumber
Replies: 6
Views: 5928

Re: Return value of TM1SystemBuildNumber

Hi Alan,

your reply saved my day :lol:
Thanks for confirming the wrong behaviour of "TM1SystemBuildNumber".

Cheers,
Martin
by MartinBrandl
Tue Jan 31, 2012 12:35 pm
Forum: IBM TM1, Planning Analytics, PAx and PAW
Topic: Return value of TM1SystemBuildNumber
Replies: 6
Views: 5928

Re: Return value of TM1SystemBuildNumber

Hi Alan,

I am developing a TM1 driver in C++ for an ETL-Application and don't use any TM1 clients like Perspective.

TM1SystembuildNumber does return the build number of the local client API (tm1api.dll) rather then the TM1 server version - as mentioned in the API documentation.

Cheers,
Martin
by MartinBrandl
Tue Jan 31, 2012 11:10 am
Forum: IBM TM1, Planning Analytics, PAx and PAW
Topic: Return value of TM1SystemBuildNumber
Replies: 6
Views: 5928

Return value of TM1SystemBuildNumber

Hi all,

doesn't the function "TM1SystemBuildNumber" returns the build number of the client instead of the server as mentioned in the API Documentation?
Returns a string corresponding to the build number of the TM1® server.
Cheers,
Martin
by MartinBrandl
Thu Jan 26, 2012 8:33 am
Forum: IBM TM1, Planning Analytics, PAx and PAW
Topic: C-API: TM1ValArraySize is not present in the TM1 API
Replies: 4
Views: 3696

Re: C-API: TM1ValArraySize is not present in the TM1 API

Hi Alan, I'm writing a set of values to TM1 using the code below: ... TM1V hArrayOfCells = TM1ValArray( cPool, cCellList.Array(), cCellList.Count() ); TM1V hArrayOfValues = TM1ValArray( cPool, cValueList.Array(), cValueList.Count() ); ASSERT( cValueList.Count() == cCellList.Count() ); // Update the ...
by MartinBrandl
Thu Jan 26, 2012 7:22 am
Forum: IBM TM1, Planning Analytics, PAx and PAW
Topic: C-API: TM1ValArraySize is not present in the TM1 API
Replies: 4
Views: 3696

Re: C-API: TM1ValArraySize is not present in the TM1 API

Hello Wim, I found the remarks from Alan: 'Despite the API manual making much mention of this function, 'it hasn't been declared in the standard module, nor has it been documented. I assumed '(apparently correctly) that it uses the same arguments as TM1ValArrayMaxSize. 'CAUTION! It returns thr ACTUA...
by MartinBrandl
Wed Jan 25, 2012 3:44 pm
Forum: IBM TM1, Planning Analytics, PAx and PAW
Topic: C-API: TM1ValArraySize is not present in the TM1 API
Replies: 4
Views: 3696

C-API: TM1ValArraySize is not present in the TM1 API

Hi all, I missing the function " TM1ValArraySize "in the TM1 C-API (Tm1api.h). I need this to determine the actual number of array elements returned from " TM1CubeCellsValueSet ". I already tryed to use "TM1ValArrayMaxSize" but then, the next call "TM1ValArrayGet&q...
by MartinBrandl
Fri Nov 11, 2011 10:36 am
Forum: IBM TM1, Planning Analytics, PAx and PAW
Topic: How to determine cell relationship using the C-API (holding)
Replies: 5
Views: 4410

Re: How to determine cell relationship using the C-API (hold

Hello bagovino,

thanks for your help.

I tryed to use TM1CubeCellSpreadStatusGet - without success. I think the function is to determine whether a (already set) hold is consolidation or leaf?

Cheers,
Martin
by MartinBrandl
Thu Nov 10, 2011 4:08 pm
Forum: IBM TM1, Planning Analytics, PAx and PAW
Topic: How to determine cell relationship using the C-API (holding)
Replies: 5
Views: 4410

Re: How to determine cell relationship using the C-API (hold

Thanks for your posts and sorry for the late reply I've been busy. I'm completely bound to the C-API and can't use the TI for this. If I splash a value to cell "C1" and I have placed a hold to cell "C2", I need to figure out whether I need to set the hold using "H" or &...
by MartinBrandl
Wed Nov 02, 2011 5:38 pm
Forum: IBM TM1, Planning Analytics, PAx and PAW
Topic: How to determine cell relationship using the C-API (holding)
Replies: 5
Views: 4410

How to determine cell relationship using the C-API (holding)

Hi all, to implement the holding functionality, I need to figure out whether a Hold is a leaf or a consolidation Hold (in dependence of the write location). For example, we have 3 dimensions: Dim_1 - Element_1_1 - Element_1_1_1 - Element_1_1_2 Dim_2 - Element_2_1 Dim_3 - Element_3_1 If Element_1_1_1...