Search found 1099 matches

by gtonkin
Thu Sep 14, 2023 9:35 am
Forum: IBM TM1, Planning Analytics, PAx and PAW
Topic: Memory usage gradually increased to maximum (64 GB) after restarting the tm1 service
Replies: 9
Views: 1997

Re: Memory usage gradually increased to maximum (64 GB) after restarting the tm1 service

I would say that this is expected behaviour. Even if you have set tm1s.cfg parameters to load sets and views, I would expect that opening views where TM1 needs to recalculate would increase memory usage (assuming no memory to recycle from garbage). If you are running processes, these would consume m...
by gtonkin
Mon Sep 11, 2023 9:20 am
Forum: IBM TM1, Planning Analytics, PAx and PAW
Topic: Need help on MDX
Replies: 4
Views: 730

Re: Need help on MDX

Have a look at the reference guide for more on how to use StrToMember per Lotsa's suggestion.
by gtonkin
Mon Sep 11, 2023 4:58 am
Forum: IBM TM1, Planning Analytics, PAx and PAW
Topic: Failed to open temp file for processing tm1rawstore.<DateTime>
Replies: 5
Views: 833

Re: Failed to open temp file for processing tm1rawstore.<DateTime>

The error typically indicates that another process has the file locked. Have you ruled out antivirus or other program locking the file to scan it? ProcessExplorer can assist in telling you what process is locking. Your service stuck in stopping state could be that it is just taking too long to shut ...
by gtonkin
Mon Sep 04, 2023 11:02 am
Forum: IBM TM1, Planning Analytics, PAx and PAW
Topic: Global Variable Scope in TI; a Public Service Announcement
Replies: 1
Views: 480

Re: Global Variable Scope in TI; a Public Service Announcement

Been caught out before with a chore reporting failures each day. Running the process was fine though.
Turned out to be exactly this, old value retained from chore to chore each day.
After Initialising in the first process's Prolog, all smooth.
by gtonkin
Sun Sep 03, 2023 1:31 pm
Forum: IBM TM1, Planning Analytics, PAx and PAW
Topic: Any tm1web log setting to get user access websheet info
Replies: 6
Views: 1122

Re: Any tm1web log setting to get user access websheet info

Here's another reference that may help: Using TM1 Web logging Edit: and another that looks useful Include user names and memory usage in TM1 Web logs The following information is included in logs: Timestamp Application and Active Form name Number of rows that were generated User name Current heap me...
by gtonkin
Fri Sep 01, 2023 4:48 am
Forum: IBM TM1, Planning Analytics, PAx and PAW
Topic: Any recommendations on available RAM
Replies: 1
Views: 525

Re: Any recommendations on available RAM

I'll get the ball rolling... Let's ignore the organic growth in cubes, dimension etc. and how that would scale and factor into your answer. In recent months I think where we get pretty close to the edge sometimes in with chores. At some clients we have seen that the chores execute and memory grows t...
by gtonkin
Tue Aug 22, 2023 12:08 pm
Forum: IBM TM1, Planning Analytics, PAx and PAW
Topic: Use Sandbox in process
Replies: 2
Views: 547

Re: Use Sandbox in process

Looks like what I have used previously for testing.
I typically run these commands in Prolog (activate) and Epilog (deactivate) and have not seen any issues so far but saying that have not used these for over a year.
by gtonkin
Thu Aug 10, 2023 8:50 am
Forum: IBM TM1, Planning Analytics, PAx and PAW
Topic: Hello Forum Members, I am reaching out to seek guidance and assistance regarding a setup we have in our client's environ
Replies: 2
Views: 955

Re: Hello Forum Members, I am reaching out to seek guidance and assistance regarding a setup we have in our client's env

Have you looked at your PAX logs to see what it may be doing? Have you changed the Log Level to ALL to see more details? Have you checked for known issues that impact performance like cells with errors, including on hidden sheets, named ranges with errors, pointing to invalid addresses? Have you tri...
by gtonkin
Wed Jul 19, 2023 1:45 pm
Forum: IBM TM1, Planning Analytics, PAx and PAW
Topic: Adding a New User in Paw - not appearing
Replies: 5
Views: 1604

Re: Adding a New User in Paw - not appearing

Another question - so if we are using CAM, they user will automatically get added when they first log in. So good news here. But what if you need to add/remove Tm1 groups? Sounds like you will still need to use architect, and cannot therefore completely ditch it for PAW? You can use TI to add the u...
by gtonkin
Thu Jul 13, 2023 5:00 am
Forum: IBM TM1, Planning Analytics, PAx and PAW
Topic: Syntax for deleting records from table using sql inside of TI job
Replies: 2
Views: 721

Re: Syntax for deleting records from table using sql inside of TI job

Once you have done what David suggests, I think you will see an issue with your WHERE clause - looks to ultimately be saying WHERE PERIOD = X AND Y - cannot be both, maybe you meant BETWEEN. Also, a better approach for these kinds of expressions is to use Expand() e.g. sSQL = EXPAND('DELETE FROM &qu...
by gtonkin
Sat Jul 08, 2023 4:26 pm
Forum: IBM TM1, Planning Analytics, PAx and PAW
Topic: Identify All References to Cube
Replies: 7
Views: 9844

Re: Identify All References to Cube

Another way is to use Debug utility 123 (all the usual exclusions and waivers apply when using undocumented features) Extracts a file with information about all cubes and dimensions So in short given the following: DebugUtility( 123, A, B, 'Model_Information_0_1.txt', '', '' ); A = 1 suppresses cont...
by gtonkin
Wed May 24, 2023 8:38 am
Forum: IBM TM1, Planning Analytics, PAx and PAW
Topic: Remove duplicate elements in MDX subset build
Replies: 6
Views: 1101

Re: Remove duplicate elements in MDX subset build

Lotsa's solution is far more elegant for what you are trying to achieve here.
by gtonkin
Wed May 24, 2023 8:18 am
Forum: IBM TM1, Planning Analytics, PAx and PAW
Topic: TM1SET function - Any trick getting it to work?
Replies: 5
Views: 1046

Re: TM1SET function - Any trick getting it to work?

Hi John, iirc, my connection in PAfE used the URI to the PASS server rather than the TM1 server and HTTPPortNumber.
The PASS "pass-through" was the missing link.
by gtonkin
Wed May 24, 2023 5:47 am
Forum: IBM TM1, Planning Analytics, PAx and PAW
Topic: Remove duplicate elements in MDX subset build
Replies: 6
Views: 1101

Re: Remove duplicate elements in MDX subset build

If you are building vi TI there are any number of ways to do this. Simplest is probably to add the elements to a string and scan the string. If you are about to add an element check if it is in your string i.e. previously added. If not add otherwise skip. You could also build an MDX string - add the...
by gtonkin
Fri May 12, 2023 7:09 pm
Forum: IBM TM1, Planning Analytics, PAx and PAW
Topic: Turning on the performance monitor in PAW
Replies: 6
Views: 2179

Re: Turning on the performance monitor in PAW

... So which is wrong...Garbage or Cube..... If there is a process running, you would not see how much memory it is consuming with transactions in case it needs to roll back. And then don't forget that all the dims, sets etc. eat memory too - can still use the properties window in architect from th...
by gtonkin
Fri May 05, 2023 4:29 pm
Forum: IBM TM1, Planning Analytics, PAx and PAW
Topic: 2.0.9.16 Rule save time dramatically less - Feeder calcs?
Replies: 7
Views: 2212

Re: 2.0.9.16 Rule save time dramatically less - Feeder calcs?

Noticed this parameter in the TM1S.CFG - may be worthwhile checking/reviewing. Default is True though. SaveFeedersOnRuleAttach When set to False, postpones writing to feeder files until SaveDataAll and CubeDataSave are called, instead of updating the files right after rules are changed and feeders a...
by gtonkin
Thu Apr 06, 2023 9:38 am
Forum: IBM TM1, Planning Analytics, PAx and PAW
Topic: Perspectives Active Form generating duplicate sections
Replies: 1
Views: 594

Re: Perspectives Active Form generating duplicate sections

After deleting all rows below the TM1RPTROW, have you tried removing the named range referring to the DATARNG? This should be regenerated on rebuild.
by gtonkin
Wed Apr 05, 2023 8:02 am
Forum: IBM TM1, Planning Analytics, PAx and PAW
Topic: You cannot append to a file when using AsciiOutput and TextOutput, right? Wrong!
Replies: 2
Views: 1018

You cannot append to a file when using AsciiOutput and TextOutput, right? Wrong!

Cross-posting this topic here in case someone needs it. TL:DR Inserting the below function will allow you to append to a file when using AsciiOutput or TextOutput. Works across Prolog, Metadata, Data and Epliog as well as other TI processes: AsciiOutputOpen(<filename>,0|FILE_OPEN_APPEND|FILE_OPEN_SH...
by gtonkin
Sat Apr 01, 2023 4:01 am
Forum: IBM TM1, Planning Analytics, PAx and PAW
Topic: Ever needed to recover a TM1 user's password when using native security i.e. mode 1?
Replies: 1
Views: 798

Ever needed to recover a TM1 user's password when using native security i.e. mode 1?

The below script uses some undocumented functions to do the decryption. These are not recognized in PAW but save and just ignore the error or use Architect. Create a new process with a string parameter called pClient then add the following to the prolog section: IF(pClient@=''); pClient=TM1User; END...