Skip to Content
author's profile photo
Former Member

message monitoring

hi all.

here i have developed a file to file scenario.

but the thing is xi is sucess in sending data from sender to reciever but when i look at sxmb_moni its showing only header and trailer but i cont find body .

the following is the body

HEADER|22012007|WMD

5000000303|220.05

5000001200|1230.05

5000001604|11345.05

5000001706|320.05

5000001707|21259

5000001800|232.05

5000003800|200.00

5000003804|38.05

5000003806|5213.10

5000003100|298.05

5000002801|228.10

TRAILER|12|40843.55

but how i can declare to identify body in sender Communication channel.

waiting for u r response.

bye.

regards.

seeta ram.

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • author's profile photo
    Former Member
    Posted on Aug 22, 2007 at 08:15 AM

    Hi,

    You can see full message in 'payload'.Check once again and aslo check your mapping.

    Regards,

    srinivas

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo
    Former Member
    Posted on Aug 22, 2007 at 08:34 AM

    Hi Ram,

    What is the FCC parameters that you have used in your file adapter?

    Did u use key field ? If not for header use the keyfield as Header, For body you can use | as keyfield

    5000000303| and for trailer you can use Trailer as keyfield.

    Check this blog by Shabarish Vijayakumar

    /people/shabarish.vijayakumar/blog/2006/02/27/content-conversion-the-key-field-problem

    Regards,

    Sumit

    Message was edited by:

    Sumit Khetawat

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi Seeta,

      I overlooked the sample file.

      The below parameter will not work since theres only 1 | in your detail row.

      detailed.keyFieldValue |

      detailed.fieldSeparator |

      Try with detailed.fieldFixedLengths .. ie if you can get a fixed length file..

      Another easy option you can go for is ..

      Read a row as a single line.

      Now in your mapping you can write java code to seperate the header and detail record.

      Regards,

      Sumit