I would like to use SSIS in orded to perform tranformations on multiple files (CSVs, Excels) which are comming from various datasources and the output should be always CSV files in certain structure.
One of the requirement after performing tranformation steps is to create a output summary file (MANIFEST FILE) about the results of the process in following structure.
BATCH_ID|EXTRACTED_FILE_NAME|MODEL_TYPE|RECORD_COUNT|TOTAL_QTY|GENERATED_ON_TE|CONTENTS_FROM_DATE|CONTENTS_TO_DATE|WORKSET_ID|FILE_STATUS|FILE_STATUS_TS
000005|NSL_B_YFRCARRAB0_PRODUCT_MASTER_20171122.txt|B|829||20171122121525|||||
Important columns:
Batch ID: ID of run
EXTRACTED_FILE_NAME: Name of created CSV file by SSIS (output file)
RECORD_COUNT: Number of rows in output file
TOTAL_QTY: SUM of column QTY
GENERATED_ON_TE: When the file was generated
STATUS_TS: Status - OK / FAIL
Is this output possible to achive in SSIS? Can I create it without using script compontent? If I have to use script compontent, can you navigate me little bit?
Many thanks, Martin!