on 08-27-2012 10:18 AM
Hi experts,
I have a question about the file sender adapter.
Is it possible to gather multiple files from a directory according to file name. For example, I have 3 files:
- 10000-20120827.DAT
- 10000-20120826.DAT
- 10001-20120827.DAT
Can I configure the interface in a way it bundle all the files starting with the same 5 first characters? (So it bundles the first two files)
I hope the question is clear enough. If not, let me know.
Thanks,
Koen
Hi Koen,
this is not possible in PI standard,
You can
- create an adapter module. The adapter has to read files with same starting file name into one message.
- create a Business Process and make use of ASMA header field "FileName" in mapping time.
- create a operation system command before processing. The script will bundle the files with same first file name characters. Assumedly the most easy solution.
Regards,
Udo
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
From what I understand, you want to package all files which start with the same name sequence into a single message in PI.
This is only possible using BPM. The file adapter will always create one message per file.
You can give multiple file names to retrieve in the sender adapter, but each file will always create a single message.
Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.