Ti Process- can see data in preview but unable to load data

Post Reply
zodiacviv
Posts: 16
Joined: Tue Nov 05, 2013 9:07 am
OLAP Product: cognos tm1
Version: 10.2.1
Excel Version: 2010

Ti Process- can see data in preview but unable to load data

Post by zodiacviv »

Hi All,

I am not an expert in TM1 but here i am facing an unusual situation that when I use csv file to load data using TI Process into cube, i can see preview in Data Source tab. Then I store all fields in different variables and then using these variables and cellputn function in Prolog tab, I am trying to populate data into cube, but it is not happening giving error unable to find source data. Also, to check if different fields of csv file is getting stored into respective variables, I just tried ASCIIOUTPUT function to output variable contents. But, in generated text file, only an empty string is visible. Can anyone please help me to understand what is happening here? Or any suggestion what i should try out. Any help regarding this is really appreciated.

Thanks and Regards,
VIV
declanr
MVP
Posts: 1827
Joined: Mon Dec 05, 2011 11:51 am
OLAP Product: Cognos TM1
Version: PA2.0 and most of the old ones
Excel Version: All of em
Location: Manchester, United Kingdom
Contact:

Re: Ti Process- can see data in preview but unable to load d

Post by declanr »

zodiacviv wrote:Then I store all fields in different variables and then using these variables and cellputn function in Prolog tab
The prolog tab does not read your data source; only the metadata and data tabs actually read the rows of your datasource.
Declan Rodger
BrianL
MVP
Posts: 264
Joined: Mon Nov 03, 2014 8:23 pm
OLAP Product: TM1
Version: 9.5.2 10.1 10.2 PA2
Excel Version: 2016

Re: Ti Process- can see data in preview but unable to load d

Post by BrianL »

Did you get the path correct? Preview will work if "Data Source Name" is set, but TM1 will ignore that and use the "Data Source Name On Server" field.

The difference is that "Data Source Name" is used by the client for preview purposes and should be a path that is accessible to the client. "Data Source Name On Server" should be a path accessible to the TM1 Server and is used during the actual TI execution.
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: Ti Process- can see data in preview but unable to load d

Post by tomok »

You have two issues going on here. The first issue is putting code in the prolog, expecting it to act on records in the data source. A'int gonna happen because the Prolog (as the name implies) is for code to do stuff BEFORE any actual records are read from the source. All your variables from the data source will be empty because no records have been read into memory. This code will have to go in Data tab. Second issue is difference between DatSourceName and DataSourceNamefor Server. The preview is built off the path you AS THE USER can see. The path the server is actually going to process is in the second field DataSourceNameforServer. Just because you can see it does not mean TM1 will be able able to. It needs to be a path that the server (once again, not you personally), can see and has security rights to.
Tom O'Kelley - Manager Finance Systems
American Tower
http://www.onlinecourtreservations.com/
zodiacviv
Posts: 16
Joined: Tue Nov 05, 2013 9:07 am
OLAP Product: cognos tm1
Version: 10.2.1
Excel Version: 2010

Re: Ti Process- can see data in preview but unable to load d

Post by zodiacviv »

Thanks All,

I really appreciate help from all TM1 Experts here. Now i am able to do file export. I was doing mistake of writing code for Data Tab into Prolog tab. :)

Viv
Post Reply