ASCIIOUTPUT does not create output file

Post Reply
Rtel
Posts: 56
Joined: Tue Nov 13, 2018 10:15 pm
OLAP Product: TM1
Version: 10.2
Excel Version: 2013

ASCIIOUTPUT does not create output file

Post by Rtel » Fri Nov 20, 2020 6:17 pm

Hello, its strange that the ASCIIOUTPUT does not create the output .cma file at all

The code is very simple ....
ASCIIOUTPUT('/folder1/folder2/test1.cma', '1', '2', '3');

Its a linux server and running TM1 10.2.2

(I want to extract a view and that's not working either ...so I tried a simple code as above and even that's not working)

Any idea what's going on here ?

Thanks

Rtel

tomok
MVP
Posts: 2767
Joined: Tue Feb 16, 2010 2:39 pm
OLAP Product: TM1, Palo
Version: Beginning of time thru 10.2
Excel Version: 2003-2007-2010-2013
Location: Atlanta, GA
Contact:

Re: ASCIIOUTPUT does not create output file

Post by tomok » Fri Nov 20, 2020 6:45 pm

Rtel wrote:
Fri Nov 20, 2020 6:17 pm
Hello, its strange that the ASCIIOUTPUT does not create the output .cma file at all

The code is very simple ....
ASCIIOUTPUT('/folder1/folder2/test1.cma', '1', '2', '3');

Its a linux server and running TM1 10.2.2

(I want to extract a view and that's not working either ...so I tried a simple code as above and even that's not working)

Any idea what's going on here ?

Thanks

Rtel
Two things:

1) /folder1/folder2/ has to be a valid path and
2) The service account that the TM1 service runs under has to have security rights to create files in folder 1) above.
Tom O'Kelley - Manager Finance Systems
American Tower
http://www.onlinecourtreservations.com/

Wim Gielis
MVP
Posts: 2584
Joined: Mon Dec 29, 2008 6:26 pm
OLAP Product: TM1, Jedox
Version: PAL 2.0.8
Excel Version: Microsoft 365
Location: Brussels, Belgium
Contact:

Re: ASCIIOUTPUT does not create output file

Post by Wim Gielis » Fri Nov 20, 2020 6:59 pm

Try that code in the Prolog tab of the process.
If it's in the Metadata tab or Data tab and your views settings are not matching the view contents, it might be that no output is produced.
Best regards,

Wim Gielis

Excel Most Valuable Professional, 2011-2014
https://www.wimgielis.com ==> 117 TM1 articles and a lot of custom code
Newest blog article: Using TI to change elemant names, like Biden to Trump

Rtel
Posts: 56
Joined: Tue Nov 13, 2018 10:15 pm
OLAP Product: TM1
Version: 10.2
Excel Version: 2013

Re: ASCIIOUTPUT does not create output file

Post by Rtel » Fri Nov 20, 2020 7:36 pm

Thanks Tomok,

1) the folder1 and folder 2 are valid path
2) I will check the service account access the folder on linux server

Thanks Gim

I ran the code in prolog and still the same issue

Thanks

Rtel

Rtel
Posts: 56
Joined: Tue Nov 13, 2018 10:15 pm
OLAP Product: TM1
Version: 10.2
Excel Version: 2013

Re: ASCIIOUTPUT does not create output file

Post by Rtel » Fri Nov 20, 2020 7:37 pm

Sorry misspelled your name Wim

User avatar
Steve Rowe
Site Admin
Posts: 2111
Joined: Wed May 14, 2008 4:25 pm
OLAP Product: TM1
Version: 10.2.2., PAW
Excel Version: Nearly all of them

Re: ASCIIOUTPUT does not create output file

Post by Steve Rowe » Mon Nov 23, 2020 10:48 am

Try it with just the following on the prolog

ASCIIOUTPUT('test1.cma', '1', '2', '3');

This will write a file to the data directory, this will should work as the service account of TM1 will have rights to it's own directory.

If it doesn't then there maybe a problem arising from your Linux build of TM1.

If it works then the problem will be rights or the naming of the path as others have said.
Technical Director
www.infocat.co.uk

Post Reply