Good Morning/Afternoon All,
I am in the process of creating a new cube, which will replace one that contains fewer dimensions, etc. Before I make the switch from CUBE123 to CUBE456 I want to ensure that all processes, TI processes, rules, security, etc., have been migrated to the new cube. Is there an easy way to search all processes, rule files, etc., to identify all references or is this a tedious manual effort?
Thank you advance,
Michael
Identify All References to Cube
-
- Posts: 54
- Joined: Mon Jul 26, 2021 12:55 pm
- OLAP Product: TM1
- Version: 2.0.0
- Excel Version: Office 365
-
- Regular Participant
- Posts: 432
- Joined: Sat Jun 08, 2019 9:55 am
- OLAP Product: Planning Analytics
- Version: Planning Analytics 2.0
- Excel Version: Excel 2016
Re: Identify All References to Cube
Hi,
You could open notepad++ and search for the old cube name in the data directory .pro and .rux files. Or you could use the powershell Select-String and output to text file, e.g.:
for rules just replace .pro with .rux in the above
Not sure about the etc's though!
Maren
You could open notepad++ and search for the old cube name in the data directory .pro and .rux files. Or you could use the powershell Select-String and output to text file, e.g.:
Code: Select all
Select-String -Path "YourDataDirectoryFilePath\*.pro" -Pattern 'old CubeName' -simplematch > "Afilepathfortheoutput\file.txt"
Not sure about the etc's though!
Maren
-
- MVP
- Posts: 3222
- Joined: Mon Dec 29, 2008 6:26 pm
- OLAP Product: TM1, Jedox
- Version: PAL 2.1.5
- Excel Version: Microsoft 365
- Location: Brussels, Belgium
- Contact:
Re: Identify All References to Cube
Or commercial tools such as Qubedocs. Note: I have no advantage of or links with, Qubedocs.
Or roll your own solution by using a TI process to read the PRO and RUX files, etc. Or develop a solution using the TM1 REST API. tm1py has some support for this task at hand.
Or roll your own solution by using a TI process to read the PRO and RUX files, etc. Or develop a solution using the TM1 REST API. tm1py has some support for this task at hand.
Best regards,
Wim Gielis
IBM Champion 2024-2025
Excel Most Valuable Professional, 2011-2014
https://www.wimgielis.com ==> 121 TM1 articles and a lot of custom code
Newest blog article: Deleting elements quickly
Wim Gielis
IBM Champion 2024-2025
Excel Most Valuable Professional, 2011-2014
https://www.wimgielis.com ==> 121 TM1 articles and a lot of custom code
Newest blog article: Deleting elements quickly
- Elessar
- Community Contributor
- Posts: 412
- Joined: Mon Nov 21, 2011 12:33 pm
- OLAP Product: PA 2
- Version: 2.0.9
- Excel Version: 2016
- Contact:
Re: Identify All References to Cube
Hi,
There is a very old but working parser written on perl: https://www.bihints.com/graphing_tm1_data_flow
There is a very old but working parser written on perl: https://www.bihints.com/graphing_tm1_data_flow
-
- MVP
- Posts: 3698
- Joined: Fri Mar 13, 2009 11:14 am
- OLAP Product: TableManager1
- Version: PA 2.0.x
- Excel Version: Office 365
- Location: Switzerland
Re: Identify All References to Cube
Or commercial tools such as Pulse. Note: I do have an association with Pulse.Wim Gielis wrote: ↑Thu Jul 06, 2023 6:12 pm Or commercial tools such as Qubedocs. Note: I have no advantage of or links with, Qubedocs.
Or roll your own solution by using a TI process to read the PRO and RUX files, etc. Or develop a solution using the TM1 REST API. tm1py has some support for this task at hand.
Please place all requests for help in a public thread. I will not answer PMs requesting assistance.
- gtonkin
- MVP
- Posts: 1254
- Joined: Thu May 06, 2010 3:03 pm
- OLAP Product: TM1
- Version: Latest and greatest
- Excel Version: Office 365 64-bit
- Location: JHB, South Africa
- Contact:
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 control objects
B = 1 includes additional feeder/cell information
At the end, for each cube you will see its dependencies to other cubes and vice versa. Includes attributes etc. too.
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 control objects
B = 1 includes additional feeder/cell information
At the end, for each cube you will see its dependencies to other cubes and vice versa. Includes attributes etc. too.
-
- Posts: 54
- Joined: Mon Jul 26, 2021 12:55 pm
- OLAP Product: TM1
- Version: 2.0.0
- Excel Version: Office 365
Re: Identify All References to Cube
Thank you all for the suggestions. I am just finishing up month-end, but will pivot to development efforts shortly.
I greatly appreciate it!
Michael
I greatly appreciate it!
Michael