ASCIIOUTPUT From one server to another
Posted: Wed Apr 15, 2020 3:22 am
Hi
We have two tm1 instances, Instance 1 running in Server A and Instance 2 running in Server B.
I am trying to asciioutput some cube data from Instance 1 ( which is running in server A) to a folder location in server B.
Here is what I am doing
sCube='Sales Reporting';
sFileName='InterserverDataOutput.csv';
sFilePath= '\\servername\D:\Inbound';
ExecuteProcess('Bedrock.Cube.Data.Export'
, 'pCube', sCube
, 'pView', ''
, 'pFilter', ''
, 'pDimensionDelim', '&'
, 'pElementStartDelim', ':'
, 'pElementDelim', '+'
, 'pSkipRules', 1
, 'pSkipCons', 1
, 'pZeroSource', 0
, 'pDestroyTempObj', 1
, 'pFilePath', sFilePath
, 'pFileName', sFileName
, 'pDebug', 1
);
This is the error message I am getting
Invalid export directory: \\servername\D:\Inbound
Also note
Inbound Folder is a shared folder
The service account used in running the TI has full control for Inbound folder.
Any pointers as to what I am missing.
We have two tm1 instances, Instance 1 running in Server A and Instance 2 running in Server B.
I am trying to asciioutput some cube data from Instance 1 ( which is running in server A) to a folder location in server B.
Here is what I am doing
sCube='Sales Reporting';
sFileName='InterserverDataOutput.csv';
sFilePath= '\\servername\D:\Inbound';
ExecuteProcess('Bedrock.Cube.Data.Export'
, 'pCube', sCube
, 'pView', ''
, 'pFilter', ''
, 'pDimensionDelim', '&'
, 'pElementStartDelim', ':'
, 'pElementDelim', '+'
, 'pSkipRules', 1
, 'pSkipCons', 1
, 'pZeroSource', 0
, 'pDestroyTempObj', 1
, 'pFilePath', sFilePath
, 'pFileName', sFileName
, 'pDebug', 1
);
This is the error message I am getting
Invalid export directory: \\servername\D:\Inbound
Also note
Inbound Folder is a shared folder
The service account used in running the TI has full control for Inbound folder.
Any pointers as to what I am missing.