Product:
Cognos TM1 10.2.2 Fix Pack 6
Cognos BI 10.1.x
Microsoft Windows 2012 R2 Server

Symptom:
When try to create a data source connection to a new setup TM1 10.2.2 server (with fix pack 6) from an old Cognos BI 10.1 server. You get a error.

Error message:
XMD-CON-0001 Connect failed with error message: TM1-ERR-0070 The TM1 server srv100/planning sample cannot be found.

Solution:
Add this parameter to the TM1S.CFG file for the TM1 instance (planning sample)
SupportPreTLSv12Clients=T
And restart the service.

You also need to set TRUE on Support pre-TLS v1.2 clients
In the Cognos TM1 configuration, like this

To allow TM1 clients and TM1 servers prior to 10.2.2 FP6 to connect to a 10.2.2 FP6 TM1 Admin Server:
1. Click Start > IBM Cognos TM1 > IBM Cognos Configuration.
2. Click TM1 Admin Server on the Explorer tree in Cognos Configuration.
3. Set the Support pre-TLS v1.2 clients property to True.
4. Click File > Save.
5. Click File > Exit.
6. Click Yes if prompted to restart the TM1 Admin Server.

More info
http://www-01.ibm.com/support/docview.wss?uid=swg27048181

Product:
Cognos TM1 10.2.2
Microsoft Windows 2012 R2 Server
Microsoft Excel 2010

Problem:
The Web sheet becomes too wide on the TM1WEB so you need to scroll to the right.
You have marked the columns in the Excel workbook sheet and select delete columns.
But it has not helped.
If you press CTRL+END you still end up all the way to RV column.

Solution:
Mark the columns on the right side that you do not want to see.
Then select HIDE from the right-click menu.

Save the excel sheet.
Update the excel sheet to TM1WEB, with Perspective toolbar.

Product:

Cognos Tm1 10.2.2 fix pack 4

Microsoft Windows 2012 R2 server

Cognos TM1 SSL certificate expiration Interim Fix

How to upgrade the cert with the new cert files from Cognos Support. This doc will show the steps for one version of Cognos, in your environment other steps and paths are maybe needed.

This post is only valid a few days, until IBM comes with a Fix Pack that solves the issue. It looks like the Fix Pack 7 contains this certificate. So instead of all this, you can try to install TM1 10.2.2 fix pack 7 on a new install of TM1 10.2.2 – it will not update certs for a running tm1 server, then you need to do below steps. Download fix pack 7 from here:

http://www-01.ibm.com/support/docview.wss?uid=swg24043388

 

Download the updated TM1 SSL Certificates from the following location: http://www.ibm.com/support/fixcentral/quickorder?product=ibm%2FInformation+Management%2FCognos+TM1&fixids=BA-CTM1-SSL-ZIP-IF001

Extract the downloaded file/archive and extract it to any directory. For the purpose of this document, our files will be extracted in to <tm1_client_install_dir>\tm1_64\NewSSLCerts\

Here you get the latest instructions:

http://www-01.ibm.com/support/docview.wss?uid=swg21991653

You need to check version of TM1 to define the route to go. Check your CMPLST file here

C:\Program Files\IBM\cognos\tm1_64. In it check below [Product Update Information] for

PLANANALYTICS_Update_version=PLANANALYTICS-AW64-ML-RTM-10.2.5240.167-0

PLANANALYTICS_Update_name=IBM Cognos TM1

Above is Cognos TM1 10.2.2 fix pack 4. Below steps are for this version of TM1.

There is different steps to perform depending on the version of TM1 10.2.2 you have installed.

Text is copied from this site:  http://www.ibm.com/support/docview.wss?uid=swg21991546

How to update the server:

Stop all IBM Cognos TM1 Services in the environment you are updating

Extract the downloaded file/archive and extract it to any directory. For the purpose of this document, our files will be extracted in to <tm1_install_dir>\tm1_64\NewSSLCerts\

After extracting the files, look inside of your extracted folder <tm1_install_dir>\tm1_64\NewSSLCerts\ . The following files should be present.

applixca.der

applixca.pem

applixcacrl.p7b

applixcacrl.pem

tm1admsvrcert.pem

tm1store

tm1svrcert.pem

list

Back up the following directories in your <tm1_install_dir>

<tm1_install_dir>\tm1_64\bin\ssl

<tm1_install_dir>\tm1_64\bin64\ssl

<tm1_install_dir>\tm1_64\webapps\pmpsvc\WEB-INF\bin64\ssl

bild2

Create a separate folder for each folder and copy the files to these new folders so you have a backup.

Copy the contents of the folder you extracted earlier <tm1_install_dir>\tm1_64\NewSSLCerts\ , and place them inside of the 3 directories listed above in Step 4. During this process, you will be required to REPLACE all conflicting files as we must replace the old certificate files with new ones.

bild3

Above after the replacement of files.

After all files have been copied successfully, navigate to <tm1_install_dir>\tm1_64\bin64\ssl\

You can start a DOS prompt by right click on the start icon in the left corner of Windows 2012.

bild4 Select Command Prompt (admin).

Then move to the correct folder <tm1_install_dir>\tm1_64\bin64\ssl\

Execute the uninstallSSL.bat file, to uninstall old keys from the Windows Keystore

bild5

Execute the importsslcert.exe file, to install the new keys in to the Windows Keystore

bild6

Open and run Windows Command Prompt as an Administrator. Navigate to <tm1_install_dir>\tm1_64\bin64\jre\7.0\bin . Execute the following command:

        keytool -delete -alias applixca -keystore ..\lib\security\cacerts -storepass changeit

bild7

keytool -keystore ..\lib\security\cacerts -alias applixca -import -file “C:\Program Files\IBM\cognos\tm1_64\bin64\ssl\applixca.der” -storepass changeit –noprompt

bild8

Copy all of folder C:\Program Files\IBM\cognos\tm1_64\bin64 to a backup folder like d:\temp\bin64.

Navigate to and copy all NGTM1*.dll files from your <tm1_install_dir>\webapps\pmpsvc\WEB-INF\bin64\ directory, and paste in to your <tm1_install_dir>\bin64\ directory. If prompted, REPLACE/OVERWRITE any conflicting files (specifically the NGTM1API.DLL file). This can be done by a COPY command in DOS.

Enter below string in CMD to copy the files

copy /B  “C:\Program Files\IBM\cognos\tm1_64\webapps\pmpsvc\WEB-INF\bin64\NGTM1*.DLL” “C:\Program Files\IBM\cognos\tm1_64\bin64\*.*”

bild9

Navigate to <tm1_install_dir>\bin64\ and open/edit the service_pmpsvc.bat file

Find the line beginning with ‘set BASE_JVM_OPTIONS’

bild10

Append the following to the end of the string:

        ;-Dcom.ibm.cognos.tm1.bin=%PMPSVC_ROOT%\bin64

bild11

Save your changes and close the open service_pmpsvc.bat file

bild12

If that does not work, then you need to save it to the Desktop.

bild13

And from there (desktop) copy it to the right folder.

bild14

bild15

Press CONTINUE on above dialog. Then the file is copied over.

You can do this with a BAT script – ensure the path are correct, and the ” are correct:

d:
REM new cert files should be in the D:\NewSSLCerts folder
copy /B /Y D:\NewSSLCerts\*.* “D:\Program Files\ibm\cognos\tm1_64\webapps\pmpsvc\WEB-INF\bin64\ssl\*.*”
copy /B /Y D:\NewSSLCerts\*.* “D:\Program Files\ibm\cognos\tm1_64\bin\ssl\*.*”
copy /B /Y D:\NewSSLCerts\*.* “D:\Program Files\ibm\cognos\tm1_64\bin64\ssl\*.*”
cd “D:\Program Files\ibm\cognos\tm1_64\bin64\ssl”
importsslcert.exe -remove
importsslcert.exe
cd “D:\Program Files\ibm\cognos\tm1_64\bin64\jre\7.0\bin”
keytool -delete -alias applixca -keystore ..\lib\security\cacerts -storepass changeit
keytool -keystore ..\lib\security\cacerts -alias applixca -import -file “d:\Program Files\IBM\cognos\tm1_64\bin64\ssl\applixca.der” -storepass changeit –noprompt
cd “D:\Program Files\ibm\cognos\tm1_64\bin64”
copy /B  “d:\Program Files\IBM\cognos\tm1_64\webapps\pmpsvc\WEB-INF\bin64\NGTM1*.DLL” “d:\Program Files\IBM\cognos\tm1_64\bin64\*.*”
REM now you need to update the service_pmpsvc.bat file – as shown before.

Open Windows Command Prompt as an Administrator, and navigate to <tm1_install_dir>\tm1_64\bin64\

Execute the following commands in the sequence below.

If your TM1 Services were configured to run as a service account, be sure to update the service to include the service account again – as it will likely be lost with this step.  Adding > d:\temp\stop.txt will create a text file in folder d:\temp\ that you can open in notepad, to check the result of the task.

        service_pmpsvc stop > d:\temp\stop.txt

bild16

After each command the DOS prompt is closed so you need to start it again as an administrator.

service_pmpsvc uninstall  >  d:\temp\uninstall.txt

bild17

This removes the services IBM Cognos TM1 Application Server from the list of installed services in Microsoft Windows.

service_pmpsvc install  >  d:\temp\install.txt

bild19

Start your IBM Cognos TM1 Services, from Windows services.

bild20

You can maybe create your own BAT file to run above 3 commands in an instance.

Use the d:\temp\install.txt file to check if the process was a success, you should not get any errors in the txt file.

Using JVM:              C:\Program Files\ibm\cognos\tm1_64\bin64\jre\7.0\bin\j9vm\jvm.dll
More help is available by typing NET HELPMSG 2185.
Installing the service “pmpsvc” …
Using CATALINA_HOME:    C:\Program Files\ibm\cognos\tm1_64\tomcat
Using CATALINA_BASE:    C:\Program Files\ibm\cognos\tm1_64\tomcat
Using JAVA_HOME:
1 file(s) copied.
keytool error: java.lang.Exception: Certificate not imported, alias <applixca> already exists
keytool error: java.lang.Exception: Certificate not imported, alias <tm1ca_v2> already exists
The service “pmpsvc” has been installed.
errorlevel 0 exit 0

Above is an example of a correct install.txt log file.

Looks like the PMHUB and Operations Console will work direct on server after this updates, no need to update them further.

 

Below steps to update clients, are the same for all versions of Cognos TM1 10.2.2

How to Update Your TM1 Architect / TM1 Perspectives Client Installations – ALL VERSIONS

To update your IBM Cognos TM1 Architect or Perspectives Client, the below steps can be followed:

Back up the following directories in your <tm1_client_install_dir>

<tm1_client_install_dir>\tm1_64\bin\ssl

<tm1_client_install_dir>\tm1_64\bin64\ssl

If you have installed 32 Bit TM1 Perspective, then it should be this folder;

bild21

Copy the contents of the folder you extracted earlier <tm1_client_install_dir>\tm1_64\NewSSLCerts\ , and place them inside of the 2 directories listed above. During this process, you will be required to REPLACE all conflicting files as we must replace the old certificate files with new ones. This can be done with a COMMAND like this;

copy /B “C:\Program Files\IBM\cognos\tm1_64\NewSSLCerts\*.*” “C:\Program Files (x86)\ibm\cognos\tm1\bin\ssl\*.*”

bild22

You need to enter Y to all replace file requests.

After all files have been copied successfully, navigate to <tm1_client_install_dir>\tm1_64\bin\ssl\

Execute the uninstallSSL.bat file, to uninstall old keys from the Windows Keystore

Execute the importsslcert.exe file, to install the new keys in to the Windows Keystore

Above step is not needed if your TM1 client tools are installed on the same server as TM1 server, but on your developer laptop you need to do above two steps.

At this stage, (and assuming your IBM Cognos TM1 Server components have been set up correctly and are running) – you should be able to confirm that you are able to successfully connect to your TM1 Server via IBM Cognos TM1 Architect or IBM Cognos TM1 Perspectives.

bild23

Above message do you get if you connect to TM1 server from TM1 perspective without having replaced the cert files locally on your laptop.

A simpler way to do the install on clients are to unzip the files to folder C:\arbete\newSSLcerts

And then create a BAT file with this content:

copy /B /Y “C:\arbete\NewSSLCerts\*.*” “C:\Program Files (x86)\ibm\cognos\tm1\bin\ssl\*.*”

copy /B /Y “C:\arbete\NewSSLCerts\*.*” “C:\Program Files (x86)\ibm\cognos\tm1\bin64\ssl\*.*”

copy /B /Y “C:\arbete\NewSSLCerts\*.*” “C:\Program Files\ibm\cognos\tm1_64\bin\ssl\*.*”

copy /B /Y “C:\arbete\NewSSLCerts\*.*” “C:\Program Files\ibm\cognos\tm1_64\bin64\ssl\*.*”

cd c:

cd “C:\Program Files\ibm\cognos\tm1_64\bin\ssl\”

importsslcert.exe -remove

importsslcert.exe

bild24

This file will work if you have admin rights on your PC, and is not blocked by any group policy.

How to Update Your Performance Modeler / Cognos Insight Client Installations – ALL VERSIONS

bild25

Above will show when you connect if you have not updated the files for Performance Modeler.

There is a updater kit – that each user of Performance Modeler on a Citrix server need to run – to update the certificates for that user. You run the file RcpSslUpdater64.exe from a DOS prompt as Administrator. More info here: http://www-01.ibm.com/support/docview.wss?uid=swg21991797

To update your IBM Cognos TM1 Performance Modeler / IBM Cognos Insight installation, the below steps can be followed:

In your Windows Start menu, find and right-click you’re IBM Cognos TM1 Performance Modeler / Cognos Insight shortcut and click ‘Open File Location’, this can be different place depending on how it was installed. If they are installed on the TM1 10.2.2 server, then your path may be like below;

This can be your folder; C:\Program Files\IBM\cognos\tm1_64\perfmodeler\bins\bin_10.2.5240.84\tm1\bin\ssl\

And in most cases you have a different folder for the versions you have installed

C:\Program Files\IBM\cognos\tm1_64\perfmodeler\bins\bin_10.2.5200.145\tm1\bin\ssl\

Both above folders need to be updated, plus some more shown below.

Back up one of the SSL Folders to ensure that you have the original keys, just in case.

bild26

Copy the contents of the folder you extracted earlier C:\NewSSLCerts\ , and place them inside of ALL \ssl\ folder found in your Performance Modeler or Cognos Insight installation directory. During this process, you will be required to REPLACE all conflicting files as we must replace the old certificate files with new ones.

You need to update the files in all SSL folders found, including this;

C:\Program Files\IBM\cognos\tm1_64\perfmodeler\bins\bin_10.2.5200.145\tm1\bin\tm1api101\ssl

C:\Program Files\IBM\cognos\tm1_64\perfmodeler\bins\bin_10.2.5200.145\tm1\bin\tm1api102\ssl

C:\Program Files\IBM\cognos\tm1_64\perfmodeler\bins\bin_10.2.5240.84\tm1\bin\tm1api101\ssl

C:\Program Files\IBM\cognos\tm1_64\perfmodeler\bins\bin_10.2.5240.84\tm1\bin\tm1api102\ssl

Plus some more folders, best is to search for SSL folders.

bild27

So in total for Cognos TM1 Performance Modeler you need to copy the new certificate files to 12 different directory’s on one Server. Then it will work.

If you are using IBM Cognos TM1 10.1.0 or TM1 10.1.1 Performance Modeler / Cognos Insight, they do not contain shortcuts in the Start menu by default. If you are not sure where Performance Modeler/Cognos Insight had been installed, you will need to launch Performance Modeler and then open Task Manager on your computer. With Task Manager open, look for the ModelingMDT process – on the Processes tab. Right click the ModelingMDT process and select ‘Open File Location’

‘C:\Users\username\AppData\Roaming\IBM\Cognos Performance Modeler\’ directory.

From within the directory just opened, use the Windows Search utility to find all folders named ‘ssl’

Depending on your installation, you may have MULTIPLE directories. For example, if you have two versions of TM1 you use in your environment – you will likely have two unique versions of Performance Modeler that will require SSL file updates

An example SSL folder location would look like the following: C:\Users\username\AppData\Local\Programs\IBM\Cognos TM1 Performance Modeler\bins\bin_10.2.5240.84\tm1\bin\ssl

bild28 

Above error is when you have not update the files for Cognos Insight.

Check where the program is for Cognos Insight by right click on the icon, it may be this path:

“C:\Program Files\IBM\cognos\tm1_64\coginsight\cognosrcp.exe”

Below that folder are these folders that we also need to copy the SSL files too;

C:\Program Files\IBM\cognos\tm1_64\coginsight\bins\bin_10.2.5200.148\tm1\bin\ssl

C:\Program Files\IBM\cognos\tm1_64\coginsight\bins\bin_10.2.5200.148\tm1\bin\tm1api101\ssl

C:\Program Files\IBM\cognos\tm1_64\coginsight\bins\bin_10.2.5200.148\tm1\bin\tm1api102\ssl

C:\Program Files\IBM\cognos\tm1_64\coginsight\bins\bin_10.2.5240.82\tm1\bin\ssl

C:\Program Files\IBM\cognos\tm1_64\coginsight\bins\bin_10.2.5240.82\tm1\bin\tm1api101\ssl

C:\Program Files\IBM\cognos\tm1_64\coginsight\bins\bin_10.2.5240.82\tm1\bin\tm1api102\ssl

After above folders have been updated, and you have MODIFY rights to folder C:\Program Files\IBM\cognos\tm1_64\coginsight, then Cognos Insight works with the new certificates.

At this stage, (and assuming your IBM Cognos TM1 Server components have been set up correctly and are running) – you should be able to confirm that you are able to successfully use IBM Cognos TM1 Performance Modeler and/or Cognos Insight.

How to update the BI client:

On most Cognos BI servers, there is a TM1 client installed, this need to be updated.

Stop your IBM Cognos BI services in Windows.

Back up the following directories in your <tm1_client_install_directory>

<tm1_client_install_directory>\bin\ssl

<tm1_client_install_directory>\bin64\ssl

Copy the contents of the folder you extracted earlier <cognos_bi_install_dir>\NewSSLCerts\, and place them inside of the 2 directories listed above. During this process, you will be required to REPLACE all conflicting files as we must replace the old certificate files with new ones.

After all files have been copied successfully, start a dos prompt and navigate to <tm1_client_install_dir>\tm1_64\bin\ssl\ folder.
run importsslcert.exe -remove from Command Line
and after that run importsslcert.exe, to install the new keys in to the Windows Keystore.

Start your IBM Cognos BI services.

It can be different on your version of Cognos BI Server.

How to update Cognos controller:

After you change the certificate files on the TM1 10.2.2 server, the FAP service will work, normally you do not need to do anything.

In CMPLST.TXT can you see your version of Cognos Controller FAP client.

CONTRL_UPDATE_version=CCR-AW64-ML-RTM-10.2.5130.108-0

CONTRL_UPDATE_name=IBM Cognos Controller Update

You need to restart the FAP service, and do a IP.

Stop the Cognos Controller FAP service.

Erase the log file in the folder C:\Program Files\IBM\cognos\ccr_64\Server\FAP\. This to make it easier to read the errors in the file.

bild29

Start the Cognos Controller FAP service if it is on the same server as the TM1 server.

bild30

Login to the FAP client and start an Initial Publish.

If FAP services and client is installed on other computer than the TM1 server, then you need to update the local TM1 client installation. Follow the steps for TM1 architect, that should work fine. http://www-01.ibm.com/support/docview.wss?uid=swg21991657

If this does not work, or If you have an older version of Cognos Controller FAP you may need to contact Cognos Support to get more instructions.

More information can be found here:   https://www.ibm.com/developerworks/community/forums/html/topic?id=26c0d643-7018-4c23-a74c-76ebdcc9c94f&ps=25

 

How to update CDM:

IBM Cognos Disclosure Management (CDM) will not be able to contact the TM1 server after the certificates are changed on the TM1 server.

You need to go to the CDM windows server and find the installation of TM1 perspective.

Copy the new Cert zip file to your CDM server.

Extracting the files, to a folder like this <tm1_client_install_dir>\tm1_64\NewSSLCerts\ .

bild31

Back up the following directories in your <tm1_client_install_dir>

<tm1_client_install_dir>\tm1_64\bin\ssl

<tm1_client_install_dir>\tm1_64\bin64\ssl

Copy the contents of the folder you extracted earlier <tm1_client_install_dir>\tm1_64\NewSSLCerts\ , and place them inside of the 2 directories listed above. During this process, you will be required to REPLACE all conflicting files as we must replace the old certificate files with new ones.

If the folder is F:\Program Files\ibm\cognos\tm1_64\bin64\ssl then a script like this:

copy /B /Y “F:\Program Files\ibm\cognos\tm1_64\NewSSLCerts\*.*”  “F:\Program Files\ibm\cognos\tm1_64\bin64\ssl\*.*”

will copy the files there.

bild32

At this stage, (and assuming your IBM Cognos TM1 Server components have been set up correctly and are running) – you should be able to confirm that you are able to successfully connect to your TM1 Server via IBM Cognos CDM.

You may also need to;

Execute the uninstallSSL.bat file, to uninstall old keys from the Windows Keystore
Execute the importsslcert.exe file, to install the new keys in to the Windows Keystore

Check that the certificate is correct in the Windows Keystore

On the TM1 server or the TM1 client computer, go to Windows Control panel, and select Internet Options.

Click on tab Content.

Click on button Certificates.

Click on Trusted Root Certification… to see a list of Certificates.

Double click on the Applix certificate.  It should only be One line for Applix.

It should show that it is valid from 2016-06-17 to 2026-06-15.  Then it is the correct cert.

Applix

Above steps are only suggestions, the best way to update is to follow the guidelines at

http://www-01.ibm.com/support/docview.wss?uid=swg21991653

Please do a test change in your test/development environment first.

Product:
Cognos TM1 10.3 on the cloud
Microsoft Windows 2012 R2

Problem:
How update a cell in cube with added values from file?

Solution:
You can use a formula in the TI process Data tab where you get the value in the cell and then add the new value and put it back. Will be a long line something like this;

CellPutN(CellGetN( sCube ,vDim1,vDim2,vDim3,vDim4,vDim5,vDim6,’Gross Order Intake’)+vGrossOrder, sCube ,vDim1,vDim2,vDim3,vDim4,vDim5,vDim6,’Gross Order Intake’);

In newer version you can use incremental update with this kind of line;

if(cellisupdateable(sCube, Dim1, Dim2, Dim3, Dim4, Dim5, Dim6, measure)=1);
cellincrementn(units, sCube, Dim1, Dim2, Dim3, Dim4, Dim5, Dim6, measure);
endif;

The CellIsUpdateable function allows us to test if a cell in a cube can be written to. If true, the function returns a 1, if false a 0.

CellIncrementN inserts a number into a specific intersection of a cube, adding onto any value that is already there. It does not overwrite that value, rather it increases it.

CellIncrementN can be used in TM1 Turbo Integrator Processes only.

More Information:

CellIsUpdateable

CellIncrementN TM1 Function: Use and Syntax

Product:
Cognos TM1 10.3 in the cloud
Microsoft Windows 2012 R2 Server

Symptom:
When user run a TI process from a button on a web sheet (TM1WEB) there is a error “Process Fail”, but if a ADMIN user run’s it then it works.
There is no error in log files.

Cause:
The user does not have READ rights on the TI process.

Solution:
Login to TM1 Architect as ADMIN
Right Click on Processes and select Security Assignments
Go down to the line for your TI process.
In column Cognos\Everyone_CAMID(_Everyone)
Set READ
Click OK

By setting READ people in that Security Group can run the process.

More Information:
http://www.ibm.com/support/knowledgecenter/SS9RXT_10.3.0/com.ibm.swg.ba.cognos.tm1_dg_dvlpr.10.3.0.doc/c_tm1_dev_datares_modes.html

With the later TM1 10.2.x versions you have a function called
Data Reservation modes
Data Reservation modes allow you to configure the Data Reservation feature depending on how you want to control write-access to your data. When you enable the Data Reservation feature for a cube, you choose one of the available Data Reservation modes.

The available Data Reservation modes include:

Off (OFF)
Required (REQUIRED)
Required Shared (REQUIREDSHARED)
Allowed (ALLOWED)

You can create a TI process with this value in PROLOG to set the value to blank for your Cube:

sValue = ”;

cellputs ( sValue, ‘}CubeProperties’, ‘Demand Plan’, ‘DataReservationMode’);

Change ‘demand plan’ to the name of your Cube in the TM1 application.

Product:
Planning Analytics (TM1 10.3 in the cloud)
Windows 2012 server

Problem:
How do you copy my data folder to a zip file for backup during development?
Program is installed to C:
And TM1 instance is installed to S:

Solution:
Drag and drop the 7za.exe file to the desktop in the cloud from your computer when you are in a Remote Desktop Session to the TM1 server.

Place the file in folder S:\prod\tm1\Work\7za920\.

Login in TM1 Architect as ADMIN.

Create a new TI process and enter below in PROLOG tab.

##############START OF CODE##########################

SC_QUOTE_COMMAND = Char(34);
sExec = SC_QUOTE_COMMAND | 'S:\prod\tm1\Work\7za920\7za.exe' | SC_QUOTE_COMMAND;
sBackupDir = SC_QUOTE_COMMAND | 'S:\prod\tm1\1 Backup\';
sDataDir = 'S:\prod\tm1\Data\';

sFileName = 'TM1_backup_' | TIMST(NOW(), '\Y\m\d_\h\i', 1) | '.zip';
sArgs = ' a -tzip ';
sCommand = sExec | sArgs | '   ' | sBackupDir | sFileName | SC_QUOTE_COMMAND | '  ' | sDataDir | '*';

###  Use text output to find the rigth use of " to make the command work
###
### ASCIIOUTPUT  ( 'S:\prod\tm1\Work\test\debuginfo.txt', sCommand );

EXECUTECOMMAND(sCommand,0);
##############END OF CODE##########################

Save above PROLOG as TI process SYS.BACKUP.
If you copy the text from the web to the TM1 architect, you need to replace ´with ‘.
SC_QUOTE_COMMAND need to be put around path strings that contain a space.

Test to run it.

Should give you a file of this format TM1_backup_20160909_0901.zip in folder S:\prod\tm1\1 Backup.
If it works you can create a core in TM1 Architect that first do a SAVEDATAALL and then this backup process from above, set it to run at 2 AM every Sunday.

7za.exe is found from here; http://www.7-zip.org/download.html

 

Product:
Cognos TM1 10.2
Windows 2008 R2 Server
www.7zip.org

Problem:
How do I automatic backup my TM1 data folder with a process?

Solution:
Install a Zip program, like 7za.exe from www.7zip.org on your TM1 server.
From the download page – get the file for 7-Zip Command Line Version.

Place the 7za.exe file in folder d:\tm1 data\7za920\.

Login to TM1 Architect on your TM1 application.
Create a new Turbo Integrator process.
In the PROLOG tab enter below code:

SC_QUOTE_COMMAND = Char(34);
sExec = SC_QUOTE_COMMAND | ‘D:\tm1 data\7za920\7za.exe’ | SC_QUOTE_COMMAND;
sBackupDir = ‘D:\tm1 data\FAP\Backup\’;
sDataDir = ‘D:\tm1 data\FAP\Data\’;

sFileName = ‘FAP_backup_’ | TIMST(NOW(), ‘\Y\m\d_\h\i’, 1) | ‘.zip’;
sArgs = ‘ a -tzip ‘;
sCommand = sExec | sArgs | ‘”‘ | sBackupDir | sFileName | ‘” “‘ | sDataDir | ‘*”‘;
EXECUTECOMMAND(sCommand,0);

Replace FAP with the name of your TM1 application, and update the path to the files in the 3 first lines to be according to your setup.

The SC_QUOTE_COMMAND = Char(34); is the ” character, and is needed if the first path contains a space. If you do not use spaces in the path names to exe files, you do not need this variable.

Save the Process as TM1.Backup name.
Create a new Chore.
Select a process you have previous created that do a SAVEDATAALL call.
Select the process TM1.Backup and click next
Set to be active
Set date and time to be run
Suggested to run once every week.
Click to save.

Product:
Cognos TM1 10.2.2 TM1 Architect
Windows 2012 R2 Server

Problem:
When open Advance Rule Editor in TM1 Architect 10.2.2 (64 bit) you get a MS error when you click on “Check Syntax” icon, and then the TM1 Architect crash and you need to close it.
Inside ARE you have no name of the rule in the top toolbar, this is a sign that you are in the wrong version of TM1 Architect.

Solution:
How to get the advance Rules editor to work in 32-Bit TM1 Architect version 10.2.2.

1) Verify that parameter AdvancedRulesEditor = T has been correctly set in the right tm1p.ini, which should resides in “C:\Users\\AppData\Roaming\Applix\TM1”

2) Verify that the following component is installed:
Microsoft Visual C++ 2005 SP1 Redistributable Package (x64 or x32 depending on the OS version)

3) Verify that the following component is installed:
Microsoft .NET 3.5 SP1 Framework

In Server Manager, click Manage and then select Add Roles and Features to start the Add Roles and Features Wizard.
On the Select installation type screen, select Role-based or feature-based installation.
Select the target server.
On the Select features screen, check the box next to .Net Framework 3.5 Features.
On the Confirm installation selections screen, a warning will be displayed asking Do you need to specify an alternate source path?. If the target computer does not have access to Windows Update, click the Specify an alternate source path link to specify the path to the \sources\sxs folder on the installation media and then click OK. After you have specified the alternate source, or if the target computer has access to Windows Update, click the X next to the warning, and then click Install.

4) Run the following MSDOS command from directory “C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727” :
regasm.exe “\bin\TM1RuleEditor.dll”

Start TM1 Architect from C:\Program Files\ibm\cognos\tm1_64\bin\tm1a.exe, to run the 32 Bit version.

5) If point 4 does not work, then retry with the /codebase parameter :
regasm.exe /codebase “\bin\TM1RuleEditor.dll”

6) If nothing works, take a look at the installation log file in \instlog. Its name should be isconfig-PLANANALYTICS-date_time.log or isconfig-TM1CLIENT-date_time.log :
verify that the registration of TM1RuleEditor.dll was OK.

7) Check whether this problem occurs on both Architect and Perspectives. If the problem occurs only with Perspectives then there must be some problem related to Excel installation. If so, then contact IBM Cognos Customer Support.

Important warning:
Advanced Rules Editor is no more supported since 10.1.1

– Supported environments ending with Cognos TM1 10.1.1 :
http://www-01.ibm.com/support/docview.wss?uid=swg27027501

Cognos is ending support for the following environments and/or features in an upcoming release.
Components Advanced Rules Editor in TM1 Architect and TM1 Perspectives

– Deprecated and discontinued functionality in IBM Cognos TM1
Advanced Rules Editor in TM1 Architect and TM1 perspectives is no longer actively supported as of TM1 10.2 (note: capability is available “as is” in TM1 10.2)

http://www-01.ibm.com/support/docview.wss?uid=swg21661245

Product:
Cognos Tm1 10.2.2 (updated version 10.2.5240.167-0)
TM1 Perspective (version 10.2.5200.235-0)
Microsoft Excel 2007
Microsoft Windows 2012 R2

Problem:
When create a WEBSHEET that should call a TM1 TI process with more than one parameter, then when you uploaded/updated to the TM1WEB, the parameters change to only one.
This will make the Process Fail.

Error message in log file:
Error: Prolog procedure line (187): Dimension element not found
or
Error: Prolog procedure line (155): Name “ xxxx “ contains an invalid character.

Solution:
Update you Microsoft Excel 2007 version to Microsoft Office 2007 Fix Pack 3 or later.
Install file like office2007sp3-kb2526086-fullfile-sv-se.exe

TM1 10.2.2 does not demand that Excel 2007 is Fix Pack 3 or later to make it work. But it is needed.

http://www-969.ibm.com/software/reports/compatibility/clarity-reports/report/html/softwareReqsForProduct?deliverableId=1375106724669&osPlatform=Windows#!

Product:
IBM Cognos TM1 10.2.2
Microsoft Windows 2012 R2 Server
Microsoft Excel 2013

Symptom:
When starting TM1 Perspective and try to connect to a TM1 server with SSO login though CAM (Cognos Access Manager) it is slow and ends up with an error message:

“(N33) Connection Failed”

When you select the TM1 instance, Excel is stuck for a moment, and the dialog will ask for Native user name and password. Then you can suspect that the SSO will not work.
A TM1 instance on same Windows server without SSO works without an issue in TM1 Perspective.

It works to connect to other TM1 instances on the same Windows server, this suggest that the port used is not open in some firewalls or other application use the same port.

Solution:
On The TM1 instance with SSO, change the port number used for TM1 in the TM1S.CFG file.
Change it from today’s value to a value close to the one used in the TM1 application that works.

Set value in TM1S.CFG to:
PortNumber = 12348
ClientMessagePortNumber = 12349

Save the file.
Restart the TM1 instance service.
Start TM1 Perspective on client laptop and test again.

More information:
http://www-01.ibm.com/support/docview.wss?uid=swg21648837