on 03-07-2017 2:40 PM
Hello,
We have a requirement according to which we need to split the Source File into smaller Files(100 records at a time) and put it in the Archive Folder in Source using SFTP sender in HCI.Please suggest.
Thanks,
Sonalika
Hi Shivram,
Just adding one more point here.. I think we can achieve it by Iterative Splitter, not by General Splitter.
Thanks,
Sonalika
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Shivram for the response...I will go with this approach..
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Sonalika,
Its not possible to split the file at sender adapter level before moving to archive directory.As an alternative you can follow below approach.
I have assumed you have CSV file and you can split it using General Splitter ( if you want to keep the header )
Input File:
Output:
Got 3 output file to archive location with data 11 rows [ 1 Header + 10 Rows ] ,11 rows [ 1 Header + 10 Rows ] and 3 rows[ 1 Header + 2 Rows ] respectively.
Integration Design:
Regards,
Sriprasad Shivaram Bhat
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
76 | |
10 | |
9 | |
8 | |
6 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.