Page 1 of 1
Code
Posted: Fri Jan 10, 2014 1:40 pm
by Pearl72
I'm trying to create a process to dump the contents of a cube into a file, although I'm having some trouble with the code. Can anyone help?

Re: Code
Posted: Fri Jan 10, 2014 1:45 pm
by declanr
Search the reference guide and the forum for asciiouput; it will cover everything you need.
Re: Code
Posted: Fri Jan 10, 2014 1:49 pm
by Pearl72
Thanks! Where is the reference guide?
Re: Code
Posted: Fri Jan 10, 2014 1:53 pm
by Pearl72
Ok I searched the asciioutput and have to say I'm still confused. Im not really a "coder", so any hints would help a lot

Re: Code
Posted: Fri Jan 10, 2014 2:01 pm
by declanr
Pearl72 wrote:Thanks! Where is the reference guide?
You can find a link to it in:
http://www.tm1forum.com/viewtopic.php?f=3&t=1037
Pearl72 wrote:Ok I searched the asciioutput and have to say I'm still confused. Im not really a "coder", so any hints would help a lot

You set the cube as your datasource, set all variables to string and then put:
AsciiOuput ( 'filepath\filename.csv', Variable1, Variables2... )
In the data tab.
Press the execute button.
Or if you really can't do coding, just right click on the cube and select "Export as Text Data"
Re: Code
Posted: Fri Jan 10, 2014 2:05 pm
by declanr
Googling "export data from cube TM1 9.5" provided this link:
http://pic.dhe.ibm.com/infocenter/ctm1/ ... 509A4.html