on 08-08-2014 5:49 AM
Hi,
Is it possible to mention start and end position in the output file using content conversion or it can be done using message mapping in PI 7.1?
eg:
standard length for first field = 10. and passed value = "NEW_S" , output should be "NEWS_S "
standard length for second field = 20. and passed value = "12345678" , output should be "12345678 "
standard length for third field = 5. and passed value = "PC", output should be "PC "
Final output as per below screen shot, it should be
(NEWS_S 12345678 PC )
Please guide.
Thanks & Regards,
Vinoth
Hi Vinoth,
If you use fieldFixedLengths in the file content conversion you set the exactly length of each field.
Regards.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Vinoth,
As you know source field length and target field length so concatenate the field values with spaces.
for example you says first field length 10 and value coming like "NEW_S", where as the field value coming with 5 length so you can add 5 spaces it would be sufficient for your requirement this is useful only your field always coming with same number of length otherwise it will be failed.
If you don't know the length of source field they please go for field fixed length it would be fulfill your requirement.
Thanks,
Thiru
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Vinoth,
You need to handle this requirement in message mapping that would be easy thing.
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 |
---|---|
98 | |
11 | |
11 | |
10 | |
10 | |
8 | |
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.