Product:
Planning Analytics 2.1.14
Microsoft Windows 2022 server

Issue:
How many RUNPROCESS can you run in parallel on a server?

RunProcess lets you run TurboIntegrator processes in parallel, each on its own thread that is managed by TM1® Server. This approach speeds up data load and other operations where TurboIntegrator processes are used to divide the work.

Suggested Solution:

You can only run, same number of virtual CPU cores you have on the server, with the RUNPROCESS command, to ensure proper data handling.

If you run more RUNPROCESS command than CPU cores, you may get that CELLPUTN command will not be executed, and you will not get a error. The process continue as all is fine.  On the other hand ASCIIOUTPUT maybe will work fine, so to run more RUNPROCESS in parallel to only create csv files works better.

If you have the ASCIIOUTPUT in the Data tab, and then the CELLPUTN in the Epilog tab of your TI process that you call from a RUNPROCESS command,

add a SLEEP (1001) before the CELLPUTN line, will in some cases solve the issue.

The solution is to add a delay somewhere in the processes, to make the server catch up with what you try to do.

 

More Information:

https://code.cubewise.com/blog/4-ways-to-speed-up-your-processes-in-ibm-tm1-and-planning-analytics/

https://www.ibm.com/docs/en/planning-analytics/2.1.0?topic=tf-process-control-turbointegrator-functions

https://aggregated.blogspot.com/2015/02/running-tm1-processes-from-outside-tm1.html

https://www.ibm.com/docs/fi/planning-analytics/2.0.0?topic=mtf-logoutput-1

 

Product:
Planning Analytic 2.1.19  tm1server = 11.8.03500.6

Microsoft Windows 2019 server

Issue:

How use SUBST instead of STR function in a process?

In PAL 2.1.18 STR function does not truncate a string when a length parameter is passed. The original value is returned as a string.

Solution:

This should give the same result

sTestA = STR(1000000, 4, 0) ;
sTestB = SUBST (numbertostring (1000000) , 1, 4) ;

 

Syntax for SUBST is:

SubSt(String, Beginning, Length)​

  • ​String = A text string​
  • Beginning = Substring starting position​
  • Length = Length of the string that we want to keep

 

More Information:

 

Product:

Cognos Analytics 12.1.1
Microsoft Windows 2019 server

Issue:

During over-the-top upgrade of CA, you get a error that folders in use c:\program files\ibm\cognos\analytics\cgi-bin

Solution:

Stop the IBM Cognos service, and also stop the World Wide Web Publishing Service.

Try then to run the installation again.

 

More information:

Before upgrade, backup the content store database, and export the content to a zip archive from Cognos.
Export the Cognos Configuration to a xml file. Backup the full Cognos folder to other drive.

During installation, the [Cognos Install]\deployment and the [Cognos Install]\data\search folders will be moved twice, which can cause the installer to appear as though it has stopped working. As these folders are often very large, it is advisable to move them to a location outside the Cognos Analytics installation folder prior to applying the update, then move them back after the update has completed, prior to restarting Cognos Analytics.

 

Upgrade steps on Windows:

1. Stop the Cognos Analytics Service and close down Cognos Configuration. If you have installed an optional Gateway, please stop the Apache or IIS webserver services.

2. Launch the downloaded installation file and follow the wizard.

3. Choose your Language and click Next.

4. Choose What you want to install – for an upgrade this will be IBM Cognos Analytics click Next.

5. Choose to Accept the license and click Next.

6. Choose the location. This must be the location of your Cognos Analytics instance that you would like to upgrade and also the shortcut folder name. Click Next.

7. Click Yes to confirm you are Installing in the same location and are overwriting a previous installation.

8. Click Install at the summary screen.

9. When complete click Done to complete the upgrade.

10. Open Cognos Configuration – you will be prompted that older versions of Configuration files were found and configuration files have been upgrade to the latest version. click OK and Save your configuration.

11. Repeat the steps for all instances in your distributed environment before starting the Cognos Analytics Services and start the webserver

If you have used CA for login to PAL (TM1WEB) then you need to restore this files, as the Cognos installation probably will remove the files.

D:\Program Files\ibm\cognos\analytics\webcontent\bi\planning.html

D:\Program Files\ibm\cognos\analytics\webcontent\bi\pmhub.html

D:\Program Files\ibm\cognos\analytics\webcontent\bi\tm1\web\tm1web.html

D:\Program Files\ibm\cognos\analytics\templates\ps\portal\variables_TM1.xml

etc

Cognos 11.2.4 End of Support: Why You Must Upgrade to Cognos 12 Before April 2026

https://www.ibm.com/docs/en/cognos-analytics/12.0.x?topic=analytics-upgrading-cognos