Skip to Content
author's profile photo Former Member
Former Member

Problem with file contnet conversion in receiver side.

Hi All,

I have a source strucuture as below.

Header-1.1

Item..1..unbounded.

footer..1..1,

As i am using PI 7.0 , can you any one tell me ..how do i mention item segment is occuring multiple times in the reciever content conversion.If only one segment is comming then the scenario is working but if the item segment is comming with multiple times, it is throwing error.

Can any one let me know how do we achieve this.

Regards,

Chandu.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Aug 14, 2009 at 01:12 PM

    Please give record structure as

    Header,Item,*,footer

    and give the keyFieldValue for the item...

    I hope this will solve ur problem...in case further doubt put the post

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Yes you are right..but i am talking about the reciever side...not the sender side.

      when i give, header,1,item,*,Footer,1- it is throwing a error as ..Conversion initialization failed: java.lang.Exception: java.lang.Exception: Error(s) in XML conversion parameters found: Parameter '1.fieldFixedLengths' or '1.fieldSeparator' is missing

      i am not sure why it is throwing error.

  • author's profile photo Former Member
    Former Member
    Posted on Aug 14, 2009 at 01:35 PM

    I had a similar requirement

    if your target structure is

    Header-1.1
    Item..1..unbounded.
    footer..1..1,
    

    specify the FCC parameter as given below

    RecordSet  Structure :Item
    choose + and the the following parameters
    Item.fieldSeparator  :'nl'
    Item.endSeparator:'nl'
    

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      hi,

      There is no need of giving * in receiver side FCC

      give the structure as

      header,item,footer

      try with this one,it will work....

      and give corresponding

      header.feildSeparator

      header.fieldNames

      item.feildSeparator

      item.fieldNames

      footer.feildSeparator

      footer.fieldNames

      default endSeparator is 'nl'

      if fixed length give fixed lengths

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.