Page 1 of 1

How to get the File name we use in TI Process

Posted: Mon Jan 04, 2016 9:11 pm
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

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

Posted: Mon Jan 04, 2016 9:44 pm
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?