on 10-18-2011 1:10 AM
Hi all,
I have a scenario where I m creating a zip file, which also needs content conversion.
Since FIle content convesrion doesnt work with PayloadZipBean, I changed the message protocol to File and added the module AF_Modules/StrictXml2PlainBean. With this I m able to give field lengths or field separator, but not both together.
If I give fieldSeparator alone, it works fine.But if I give fieldSeparator and fieldLengths, then only fieldLengths come effective.
My requirement is to create a file which is fixed length and ; separated. Please give some ideas to achieve both together.
Thanks a lot in advance!!
Anjana.
Anjana
Since File content conversion doesnt work with PayloadZipBean, I changed the message protocol to File and added the module AF_Modules/StrictXml2PlainBean.
I suppose this part you are able to achieve so moving to your next requirement :
My requirement is to create a file which is fixed length and ; separated.
Add feilds with constant ; after each field in the target structure and include the same in your field lengths parameter in modules. Now PI will take these ';' as a new field and do the content conversion as per fixed field length. Which solves your problem.
Regards
Raj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
81 | |
10 | |
10 | |
9 | |
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.