Problem with ASCIIOUTPUT
-
- Posts: 83
- Joined: Wed Feb 28, 2018 2:20 pm
- OLAP Product: TM1
- Version: 10.2.2
- Excel Version: 2016
Problem with ASCIIOUTPUT
Hello,
I keep getting process aborted error message (file A:\filename.csv not found)...sorry somehow I couldn't attach more screenshots...
Can someone please help?
DataSource is Cube View
Data Source Name: I chose a cube view named "Alectra-ES:SM_Depreciation->Download"
in Variables I have:
vTime
vProject
vtype
vMea
Value
in Parameters I set up pExportName as string with question "Enter File Name"
in prolog I have:
vCount = 1;
FilePath = 'A:\';
in Data I have:
If(vCount =1);
ASCIIOUTPUT(FilePath | pExportName | '.CSV', 'Period', 'Project', 'Type', 'Measure', 'Value');
vCount = 2;
EndIf;
ASCIIOUTPUT(FilePath | pExportName | '.CSV', vTime, vProject, vType, vMea, NumberToString(Value));
thanks so much!
I keep getting process aborted error message (file A:\filename.csv not found)...sorry somehow I couldn't attach more screenshots...
Can someone please help?
DataSource is Cube View
Data Source Name: I chose a cube view named "Alectra-ES:SM_Depreciation->Download"
in Variables I have:
vTime
vProject
vtype
vMea
Value
in Parameters I set up pExportName as string with question "Enter File Name"
in prolog I have:
vCount = 1;
FilePath = 'A:\';
in Data I have:
If(vCount =1);
ASCIIOUTPUT(FilePath | pExportName | '.CSV', 'Period', 'Project', 'Type', 'Measure', 'Value');
vCount = 2;
EndIf;
ASCIIOUTPUT(FilePath | pExportName | '.CSV', vTime, vProject, vType, vMea, NumberToString(Value));
thanks so much!
- Attachments
-
- DataSource.PNG (21.76 KiB) Viewed 6312 times
-
- MVP
- Posts: 2836
- 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: Problem with ASCIIOUTPUT
You're trying to write to a floppy disk on the server?????? A: is usually reserved for a floppy disk drive.lynnsong986 wrote: ↑Tue Nov 05, 2019 3:15 pm I keep getting process aborted error message (file A:\filename.csv not found)...sorry somehow I couldn't attach more screenshots...
Can someone please help?
-
- Posts: 83
- Joined: Wed Feb 28, 2018 2:20 pm
- OLAP Product: TM1
- Version: 10.2.2
- Excel Version: 2016
Re: Problem with ASCIIOUTPUT
I'm not sure how IT set it up but I had to put all of my CSV files on A: for TI to see them. This is the server drive. I actually tried to use a different path i.e. desk but the same error happened. Not sure how to fix this...
-
- Posts: 83
- Joined: Wed Feb 28, 2018 2:20 pm
- OLAP Product: TM1
- Version: 10.2.2
- Excel Version: 2016
Re: Problem with ASCIIOUTPUT
sorry I meant that I used filepath like 'C:\Users\lynn.song\Desktop\' but got the same error.
-
- MVP
- Posts: 2836
- 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: Problem with ASCIIOUTPUT
The user ID that your TM1 Server service runs under has to have the necessary security privileges on the server to be able to create and edit files in order to use ASCIIOUTPUT. I'm not talking about TM1 security, I mean the Windows security for the actual server machine.
-
- Posts: 83
- Joined: Wed Feb 28, 2018 2:20 pm
- OLAP Product: TM1
- Version: 10.2.2
- Excel Version: 2016
Re: Problem with ASCIIOUTPUT
Thanks tomok for your help, I may not have the privilege on the server machine but why I can't export to my own desktop either?
-
- Posts: 83
- Joined: Wed Feb 28, 2018 2:20 pm
- OLAP Product: TM1
- Version: 10.2.2
- Excel Version: 2016
Re: Problem with ASCIIOUTPUT
would that be the same windows security reason? that means I need to go talk to IT department? thanks!
-
- MVP
- Posts: 2836
- 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: Problem with ASCIIOUTPUT
You can't output to your own desktop because TI processes run on the server, not your local machine. Think about it......lynnsong986 wrote: ↑Tue Nov 05, 2019 3:50 pm Thanks tomok for your help, I may not have the privilege on the server machine but why I can't export to my own desktop either?
-
- Posts: 83
- Joined: Wed Feb 28, 2018 2:20 pm
- OLAP Product: TM1
- Version: 10.2.2
- Excel Version: 2016
Re: Problem with ASCIIOUTPUT
ok thanks so much!! I guess I need to talk to the TM1 guy who set up all securities instead, really appreciated it!!
- gtonkin
- MVP
- Posts: 1261
- Joined: Thu May 06, 2010 3:03 pm
- OLAP Product: TM1
- Version: Latest and greatest
- Excel Version: Office 365 64-bit
- Location: JHB, South Africa
- Contact:
Re: Problem with ASCIIOUTPUT
If A: is a server folder/share, make sure that the account that is linked to the TM1 Service has access to it. TM1 will try and write with that account, not yours, unless you are linked on the service.
p.s. Tomok has mentioned this but just saying it a different way.
p.s. Tomok has mentioned this but just saying it a different way.
-
- Posts: 83
- Joined: Wed Feb 28, 2018 2:20 pm
- OLAP Product: TM1
- Version: 10.2.2
- Excel Version: 2016
Re: Problem with ASCIIOUTPUT
Thanks for the clarification! I found it a bit confusing as I do have access to the drive, but sounds like it requires more than that. I reached out to the TM1 mastermind in my company.