How to get the File name we use in TI Process

Post Reply
VPKR
Posts: 19
Joined: Thu Jul 12, 2012 4:34 pm
OLAP Product: IBM Cognos TM1
Version: 10.2.2.4
Excel Version: 2010

How to get the File name we use in TI Process

Post by VPKR »

Hello Friends

I was doing some R&D for project work and stuck with this question. Can anyone please provide a solution?
I want to see if there is any way to get the name of file that we are using in the current TI process. For example. am loading a cube from a CSV file called "Data_File.csv". If am writing some code in the Prolog tab, say to populate the file name into an audit trial cube. Can i assign the name of csv file from 'Data Source Name' under Data Source tab to a variable? If so, please advise the process or work around if any.

Thanks,
Pavan
Alan Kirk
Site Admin
Posts: 6647
Joined: Sun May 11, 2008 2:30 am
OLAP Product: TM1
Version: PA2.0.9.18 Classic NO PAW!
Excel Version: 2013 and Office 365
Location: Sydney, Australia
Contact:

Re: How to get the File name we use in TI Process

Post by Alan Kirk »

VPKR wrote: I want to see if there is any way to get the name of file that we are using in the current TI process. For example. am loading a cube from a CSV file called "Data_File.csv". If am writing some code in the Prolog tab, say to populate the file name into an audit trial cube. Can i assign the name of csv file from 'Data Source Name' under Data Source tab to a variable? If so, please advise the process or work around if any.
Have you looked in the Reference Guide? Specifically the section of the Reference Guide that deals with TurboIntegrator Local Variables?
"To them, equipment failure is terrifying. To me, it’s 'Tuesday.' "
-----------
Before posting, please check the documentation, the FAQ, the Search function and FOR THE LOVE OF GLUB the Request Guidelines.
Post Reply