First of all is to say Thanks a million for your answers, and sorry for delayed.
Im creating a .dat archive like .the archives created by a datalogger.
That kind of archive has this structure:
- 4 headers with metainformation about the the whole data in the body, I mean:
- 1 header with the information about date.
- 1 header with the information about the columns of the body data.
- 1 header with the information about the archive
- 1 header with control information .
- The body with thousands of data.
First of all is to say Thanks a million for your answers, and sorry for delayed.
Im creating a .dat archive like .the archives created by a datalogger.
That kind of archive has this structure:
4 headers with metainformation about the the whole data in the body, I mean:
1 header with the information about date.
1 header with the information about the columns of the body data.
1 header with the information about the archive
1 header with control information .
The body with thousands of data.
At the moment I have solved it creating a text file with extension .dat with the header 1, and in the following steps adding the information in that same archive using the add option.I don´t know if there is another better option, but really thanks a million.
Now I have another problem, and is this:
In the first step of a transformation I have a input data with a sql like this:
Select distinct tableName from AmountData.
I have 109 tableName differents (By the way those tables exists).
I want to use each tableName field value in 4 inputs data steps wtihin the same transformation, I mean:
- Step 1 (first iteration):
- Select distinct tableName from AmountData
Result: tableName= Datalogger1
- Select * from Datalogger1_Header1 (Concatenated tableName with the text _header1)
- Create a file called "Datalogger1", with the data from step 2
- Select * from Datalogger1_Header2 (Concatenated tableName with the text _header2)
- Append the data from step 4 to the file "Datalogger1".
- Select * from Datalogger1_Header3 (Concatenated tableName with the text _header3)
- Append the data from step 6 to the file "Datalogger1".
- Select * from Datalogger1_Header4 (Concatenated tableName with the text _header4)
- Append the data from step 8 to the file "Datalogger1".
..............
with the 109 Iterations / Tablenames.
Im trying to solve it with parameters, or getting data from previously step option, but Im not lucky at the moment, I can´t get the tableName since the first step, some ideas???
Thanks a million !!!!!