1
I have an activity and I don’t know where to start, I have to create a Pre ETL to consume and transform a .txt
follows data:
Price List
The Price List file will arrive with the following name: XBOL_QP_PL_OUT_20181010.txt
Pre ETL should receive this file, and split it in two:
Header: XBOL_QP_PL_OUT_H_20181010.txt
Item: XBOL_QP_PL_OUT_L_20181010.txt
Rule XBOL_QP_PL_OUT_H_20181010.txt
:
- File with PIPE tab (|);
- First position, 1 character, "H" identifier (Header);
- Keep the same
timestamp
of the original file;
File should stick to the original nomenclature.
Rule XBOL_QP_PL_OUT_L_20181010.txt
:
- File with PIPE tab (|);
- First position, character 1, identifier "L" (Lines);
- Keep the same
timestamp
of the original file;
File should stick to the original nomenclature.
What is your doubt, although with this file I was already in doubt also because the base file is the same as the other files but with different header? what is really to do?
– novic
A folder will receive the TXT file that will have the data of the H and L lines in this file, I need to separate in 2 files, one for H lines and the other for L lines and play in another folder, all this in a C console#
– Wesley Dias
And then understood the solution?
– novic
Thank you very much Virgilio I’ll test now ! I’ll let you know as soon as I’m OK
– Wesley Dias
It worked really well thank you
– Wesley Dias