IBM COGNOS TM1 - TURBO INTEGRATOR

Post Reply
SysHic
Posts: 8
Joined: Wed May 06, 2015 2:27 pm
OLAP Product: IBM Cognos Tm1
Version: 10.2
Excel Version: 2010

IBM COGNOS TM1 - TURBO INTEGRATOR

Post by SysHic »

:arrow: Hi, I'am new member in this forum, and I am beginner in this field of BI. and sorry for my english null :D :mrgreen:

:arrow: I want download data from a text file ( log file ) that contains data about the execution of different process and put them in a cube.

:arrow: In the " log " file, there are a columns of data delimited bye ', ' - for example :

"2","20150417142238","20150417142238","Admin","S","\\Sources\Dimensions\","\\\TM1__LOAD\Sources\Dimensions\","Z_Parametre","DimensionSourceRepository","Svalue",""

:arrow: so i want test if it's a process , if true i put the time information and duration of process in the cube, so I will just extract data from some column,

:arrow: so finaly i want have a cube that contains all information about all process execution.

:arrow: And i want do all this by using TAB PROLOGUE program.

Thank you for help

cordially
SysHic
Posts: 8
Joined: Wed May 06, 2015 2:27 pm
OLAP Product: IBM Cognos Tm1
Version: 10.2
Excel Version: 2010

Re: IBM COGNOS TM1 - TURBO INTEGRATOR

Post by SysHic »

Hi :D

Just I forget to say that i am working in : IBM COGNOS TM1 Architect 10.2

Thank you
David Usherwood
Site Admin
Posts: 1458
Joined: Wed May 28, 2008 9:09 am

Re: IBM COGNOS TM1 - TURBO INTEGRATOR

Post by David Usherwood »

Have you designed the cube you will use to hold your data?
tomok
MVP
Posts: 2836
Joined: Tue Feb 16, 2010 2:39 pm
OLAP Product: TM1, Palo
Version: Beginning of time thru 10.2
Excel Version: 2003-2007-2010-2013
Location: Atlanta, GA
Contact:

Re: IBM COGNOS TM1 - TURBO INTEGRATOR

Post by tomok »

That's a nice laundry list of what you want the cube to do. Have you spent any time reading the documentation? Thought about taking a training class? This forum is not really here to walk you step by step through the things that are covered in the documentation. I suggest you spent some time reading before you spend any more time asking.
Tom O'Kelley - Manager Finance Systems
American Tower
http://www.onlinecourtreservations.com/
SysHic
Posts: 8
Joined: Wed May 06, 2015 2:27 pm
OLAP Product: IBM Cognos Tm1
Version: 10.2
Excel Version: 2010

Re: IBM COGNOS TM1 - TURBO INTEGRATOR

Post by SysHic »

Thank you for your answer.


:arrow: David Usherwood : thank you very much for you answer , Yes i have create a cube (named : Z_Suivi_Process) that containt 3 dimensions : Time ( year,trimestre,month) - Cube (containt all process ) - Time_mesure ( start_time, stop_time, duration time , number_of_execution)

so i have write some code line , I start by retrieve the system date and I concatenated with ' TM1S ' to get a string like :TM1S20150513...
and like that I get the log file for today from server(info: the process will always executes in the late afternoon )

And now I 'm stuck How do I get data from specific columns log file and put it in the cube, that's all.


:arrow: For Tomok : i don't want a solution step by step, i was just asked et now if it's possible to do this just with program Prolog.

:arrow: I am a beginner and Décisionel IT, i am now in a intership , it's my first intership in this field.

Thankyou
lotsaram
MVP
Posts: 3704
Joined: Fri Mar 13, 2009 11:14 am
OLAP Product: TableManager1
Version: PA 2.0.x
Excel Version: Office 365
Location: Switzerland

Re: IBM COGNOS TM1 - TURBO INTEGRATOR

Post by lotsaram »

SysHic wrote:...i don't want a solution step by step, i was just asked et now if it's possible to do this just with program Prolog.
No. You can't do this just using the Prolog because the prolog executes in isolation without binding to a data source. To examine the contents of a text file line by line as a data source you need to use the metadata or data tab as code on these tabs will be repeated per record of the data source. On the prolog you would setup your variable declarations, test parameters and set what the data source is going to be.
Please place all requests for help in a public thread. I will not answer PMs requesting assistance.
SysHic
Posts: 8
Joined: Wed May 06, 2015 2:27 pm
OLAP Product: IBM Cognos Tm1
Version: 10.2
Excel Version: 2010

Re: IBM COGNOS TM1 - TURBO INTEGRATOR

Post by SysHic »

lotsaram wrote:
SysHic wrote:...i don't want a solution step by step, i was just asked et now if it's possible to do this just with program Prolog.
No. You can't do this just using the Prolog because the prolog executes in isolation without binding to a data source. To examine the contents of a text file line by line as a data source you need to use the metadata or data tab as code on these tabs will be repeated per record of the data source. On the prolog you would setup your variable declarations, test parameters and set what the data source is going to be.

Thank you for your answer. ok i understand . but the probleme here it's a file texte no a CSV text so there are no header. how i call the specific data

i was find this commande : DIMENSIONELEMENTINSERT and DIMENSIONELEMENTCOMPONENTADD , but This function adds an element not sub not all the data. -will you have an idea on the command I should use. thank you so much
tomok
MVP
Posts: 2836
Joined: Tue Feb 16, 2010 2:39 pm
OLAP Product: TM1, Palo
Version: Beginning of time thru 10.2
Excel Version: 2003-2007-2010-2013
Location: Atlanta, GA
Contact:

Re: IBM COGNOS TM1 - TURBO INTEGRATOR

Post by tomok »

It is obvious from your questions you are completely and totally lost. You really need to read the documentation, especially that which covers Turbointegrator. All your questions will be answered (at least most of them anyway). After you've had a chance to digest the docs then come back with specific questions when you run into a brick wall.
Tom O'Kelley - Manager Finance Systems
American Tower
http://www.onlinecourtreservations.com/
BariAbdul
Regular Participant
Posts: 424
Joined: Sat Mar 10, 2012 1:03 pm
OLAP Product: IBM TM1, Planning Analytics, P
Version: PAW 2.0.8
Excel Version: 2019

Re: IBM COGNOS TM1 - TURBO INTEGRATOR

Post by BariAbdul »

Hi SysHic ,Please go through below link and read Alan Kirk and Steve Vincent replies ,It would give understanding of Advance tab.
http://www.tm1forum.com/viewtopic.php?f=3&t=1103

Also,the function you should be looking at is CellPutN or CellPutS to be used in the data tab.As suggested by Tomok,Please go through the TM1 documentation to get understanding of TM1.Thanks
"You Never Fail Until You Stop Trying......"
User avatar
jim wood
Site Admin
Posts: 3961
Joined: Wed May 14, 2008 1:51 pm
OLAP Product: TM1
Version: PA 2.0.7
Excel Version: Office 365
Location: 37 East 18th Street New York
Contact:

Re: IBM COGNOS TM1 - TURBO INTEGRATOR

Post by jim wood »

SysHic wrote:Thank you for your answer. ok i understand . but the probleme here it's a file texte no a CSV text so there are no header. how i call the specific data

i was find this commande : DIMENSIONELEMENTINSERT and DIMENSIONELEMENTCOMPONENTADD , but This function adds an element not sub not all the data. -will you have an idea on the command I should use. thank you so much
Once you've setup your data source as a text file in the opening tab you should see the columns within the file (seperated by a comma) in the variables tab. Each variable needs to havea unique name. When you setup your source the TI process tries to name the variable based on the contents of the column. Normally its best to change the name yourself to something meaningful, so for example if your column contains years call it vYear. The prefix of "v" signifies that it is a variables. Then in the data / meta data tabs when you refer to the variable it actually refers to the value of the variable. This is what Lotsaram was meaning. I hope this helps.

BTW Tomok is right. You really do need to at least go through the documentation that IBM provide. There is a developers guide that covers most of what we have pointed out so far. At the moment you're trying to drive a car without getting lessons,

Jim.
Struggling through the quagmire of life to reach the other side of who knows where.
Go Build a PC
Jimbo PC Builds on YouTube
OS: Mac OS 11 PA Version: 2.0.7
SysHic
Posts: 8
Joined: Wed May 06, 2015 2:27 pm
OLAP Product: IBM Cognos Tm1
Version: 10.2
Excel Version: 2010

Re: IBM COGNOS TM1 - TURBO INTEGRATOR

Post by SysHic »

jim wood wrote:
SysHic wrote:Thank you for your answer. ok i understand . but the probleme here it's a file texte no a CSV text so there are no header. how i call the specific data

i was find this commande : DIMENSIONELEMENTINSERT and DIMENSIONELEMENTCOMPONENTADD , but This function adds an element not sub not all the data. -will you have an idea on the command I should use. thank you so much
Once you've setup your data source as a text file in the opening tab you should see the columns within the file (seperated by a comma) in the variables tab. Each variable needs to havea unique name. When you setup your source the TI process tries to name the variable based on the contents of the column. Normally its best to change the name yourself to something meaningful, so for example if your column contains years call it vYear. The prefix of "v" signifies that it is a variables. Then in the data / meta data tabs when you refer to the variable it actually refers to the value of the variable. This is what Lotsaram was meaning. I hope this helps.

BTW Tomok is right. You really do need to at least go through the documentation that IBM provide. There is a developers guide that covers most of what we have pointed out so far. At the moment you're trying to drive a car without getting lessons,

Jim.
---------------------------------------------------------------------------------------------------------------------------------------------------------------------
Thank you for the answer. I understand, but the problem that it is a txt file and not a CSV file, there is no header on the columns that make references.

For example, I have a CSV file that contains:

N5 Lib_N5 N4
Total Libelle Total Code
TOT_ETJ Total Entité A120
TOT_ETJ Total Entité A130
TOT_ETJ Total Entité A201
ETJ_TECH Entité - TECH CN
ETJ_TECH Entité - TECH CN
ETJ_TECH Entité - TECH CN
ETJ_TECH Entité - TECH A241

there has a header for 3 columns N5, Lib_N5, N4, so refer to the data, and therefore I can do, for example:

AttrPutS (Lib_N5, VDIM, N5, vDimAlias);

But in my case it is a text file, there is no header, and this is my big probleme. how i can refer the data in my log file.
User avatar
jim wood
Site Admin
Posts: 3961
Joined: Wed May 14, 2008 1:51 pm
OLAP Product: TM1
Version: PA 2.0.7
Excel Version: Office 365
Location: 37 East 18th Street New York
Contact:

Re: IBM COGNOS TM1 - TURBO INTEGRATOR

Post by jim wood »

The fact that the file has no header makes no difference at all which is what I was trying to point out. In fact if it has a header row then you should skip as it's not valid data. The variable names have nothing to do with the headers. The process will pick them up and you specify a header row and the header contains no spaces but you can simply go in to the variables tab and change the variable name. This is covered by the documentation I mentioned earlier. You really need to go through as you clearly don't understand how TM1 refers to variables.
Struggling through the quagmire of life to reach the other side of who knows where.
Go Build a PC
Jimbo PC Builds on YouTube
OS: Mac OS 11 PA Version: 2.0.7
SysHic
Posts: 8
Joined: Wed May 06, 2015 2:27 pm
OLAP Product: IBM Cognos Tm1
Version: 10.2
Excel Version: 2010

Re: IBM COGNOS TM1 - TURBO INTEGRATOR

Post by SysHic »

jim wood wrote:The fact that the file has no header makes no difference at all which is what I was trying to point out. In fact if it has a header row then you should skip as it's not valid data. The variable names have nothing to do with the headers. The process will pick them up and you specify a header row and the header contains no spaces but you can simply go in to the variables tab and change the variable name. This is covered by the documentation I mentioned earlier. You really need to go through as you clearly don't understand how TM1 refers to variables.

Ok, thank you , When i can't find this documentation please ? i cannot find it

cordially
User avatar
jim wood
Site Admin
Posts: 3961
Joined: Wed May 14, 2008 1:51 pm
OLAP Product: TM1
Version: PA 2.0.7
Excel Version: Office 365
Location: 37 East 18th Street New York
Contact:

Re: IBM COGNOS TM1 - TURBO INTEGRATOR

Post by jim wood »

Within Perspectives select help then contents and index. You should see a link to the developers guide
Struggling through the quagmire of life to reach the other side of who knows where.
Go Build a PC
Jimbo PC Builds on YouTube
OS: Mac OS 11 PA Version: 2.0.7
SysHic
Posts: 8
Joined: Wed May 06, 2015 2:27 pm
OLAP Product: IBM Cognos Tm1
Version: 10.2
Excel Version: 2010

Re: IBM COGNOS TM1 - TURBO INTEGRATOR

Post by SysHic »

jim wood wrote:Within Perspectives select help then contents and index. You should see a link to the developers guide

Thank you very much Sir for all answers :)

Cordially
BariAbdul
Regular Participant
Posts: 424
Joined: Sat Mar 10, 2012 1:03 pm
OLAP Product: IBM TM1, Planning Analytics, P
Version: PAW 2.0.8
Excel Version: 2019

Re: IBM COGNOS TM1 - TURBO INTEGRATOR

Post by BariAbdul »

You could also find Cognos TM1 version 10.1 and 10.1.1 product documentation below:
http://www-01.ibm.com/support/docview.w ... wg27021893 Thanks :D
"You Never Fail Until You Stop Trying......"
Post Reply