how to set the statrt and the end symbol in TextOutput()?

Post Reply
solverxyz
Posts: 18
Joined: Thu Mar 15, 2012 6:30 am
OLAP Product: NONE
Version: TM1 9.5.2
Excel Version: 2003

how to set the statrt and the end symbol in TextOutput()?

Post by solverxyz »

Deal all,

As far as I know, textoutput() or asciioutput() always contain the starting symbol:", also the end symbol.

for example, as running a TI

##in Prolog

sStrings='testtext';
textoutput('ouput.cma',sStrings);

##########

after TI completed, open the ouput.cma, and it shows:
"test"

but what I expect is:
test

does any know how to solve this issue?

I want to use textoutput to create txt file for create rule by TI,
do I have another option to achieve this?
Duncan P
MVP
Posts: 600
Joined: Wed Aug 17, 2011 1:19 pm
OLAP Product: TM1
Version: 9.5.2 10.1 10.2
Excel Version: 2003 2007
Location: York, UK

Re: how to set the statrt and the end symbol in TextOutput()

Post by Duncan P »

This is controlled by the TI variable DatasourceASCIIQuoteCharacter which you can set to the empty string ''. You might also want to look at DatasourceASCIIDelimiter.
Jeroen Eynikel
Community Contributor
Posts: 139
Joined: Mon Sep 15, 2008 1:45 pm

Re: how to set the statrt and the end symbol in TextOutput()

Post by Jeroen Eynikel »

Duncan P wrote:This is controlled by the TI variable DatasourceASCIIQuoteCharacter which you can set to the empty string ''. You might also want to look at DatasourceASCIIDelimiter.

Great! :p
solverxyz
Posts: 18
Joined: Thu Mar 15, 2012 6:30 am
OLAP Product: NONE
Version: TM1 9.5.2
Excel Version: 2003

Re: how to set the statrt and the end symbol in TextOutput()

Post by solverxyz »

thank you so much~~~~~~~~
it's really helpful
Post Reply