Page 1 of 1

Data Output using Asciioutput

Posted: Mon Apr 12, 2010 3:42 pm
by cdhodge2002
I am using an Asciioutput function in order to export data from TM1, however my client has requested that I take off the quotes variable outputs. Does anybody know how to do this in TM1 or does this need to be done outside of TM1 and how is the best was to do this outside of TM1?

Re: Data Output using Asciioutput

Posted: Mon Apr 12, 2010 6:29 pm
by Alan Kirk
cdhodge2002 wrote:I am using an Asciioutput function in order to export data from TM1, however my client has requested that I take off the quotes variable outputs. Does anybody know how to do this in TM1 or does this need to be done outside of TM1 and how is the best was to do this outside of TM1?
Set the DatasourceASCIIQuoteCharacter variable to an empty string:

Code: Select all

AsciiOutput ('C:\Temp\Example.txt', 'This will have quotes');

DatasourceASCIIQuoteCharacter='';

AsciiOutput ('C:\Temp\Example.txt', 'And this will not');