How to read a text file in process?
Posted: Tue Nov 01, 2011 1:51 pm
Good day! Help me please.
I have created a process, the data source is a text file. All the settings I made in the dialog boxes, creating variables, set delimiters.
The process reads data from a file and writes out to another file. It works.
Is it possible to specify a data source, delimiters in the code without dialog boxes? For example using the function:
Is it possible to create variables in the code and write data into them from the source file?
I have created a process, the data source is a text file. All the settings I made in the dialog boxes, creating variables, set delimiters.
The process reads data from a file and writes out to another file. It works.
Is it possible to specify a data source, delimiters in the code without dialog boxes? For example using the function:
Code: Select all
strPath = GetProcessErrorFileDirectory;
File = strPath | 'tm1server.log';
DataSourceType='CHARACTERDELIMITED';
DatasourceNameForServer=File;
DatasourceASCIIDelimiter=' ';
DatasourceASCIIQuoteCharacter='';