on 08-31-2010 3:19 PM
Hi,
Iu2019m working in PI 7.11 with file adapter, Sender CC, option: Empty-File Handling: Process Empty Files.
What I want to do is giving target file the system-date, if the source file is empty.
But I always get a mapping error in RTWB: Premature end of file.
It seems that the payload is empty.
Any idea?
Thanks a lot in advance!
Rene Dong
Edited by: Rene Dong on Aug 31, 2010 4:20 PM
when its an empty file your payload will be null
so ideally you can either
1. use a adapter module and handle this
2. use a java mapping that checks the empty payload and take action
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
What I want to do is giving target file the system-date, if the source file is empty.
The error you are getting makes sense. You should do a check in the mapping, if the payload is empty then use brute force to pass the system date.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.