Skip to Content
avatar image
Former Member

FCC

Dear All,

I have following XML generated from PI:

<?xml version="1.0"?>

<MT_WNMF>

<Message>A</Message>

<Message>B</Message>

<Message>C</Message>

<Message>D</Message>

</MT_WNMF>

I want to convert it to txt file as follow:

A

B

C

D

What are the parameters that i need to put in FCC File receiver?

I tried:

Recordset Structure = MT_WNMF

MT_WNMF.addHeaderLine = 0

MT_WNMF.fieldSeparator = 'nl'

But the generated txt file have no data (A,B,C,D) inside but only have 4 small boxes (i think it is 'enter').

Please advice.

Victor.

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

4 Answers

  • avatar image
    Former Member
    Oct 21, 2008 at 05:43 AM
    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi,

      I dont think so there wil be a problem with generated xml file.

      Create Your Structure According to the above mentioned blogs and

      Check with the Receiver FCC parameters and execute

      Regards

      Seshagiri

  • avatar image
    Former Member
    Oct 21, 2008 at 05:47 AM

    hi

    XI Asynchronous Message Processing: Understanding XI Queues -Part I

    Check handling spcl char using ascii code

    srini

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Oct 21, 2008 at 06:37 AM

    Hi,

    Write below statement at receiver adapter, it will work

    MT_WNMF.fieldFixedLengths = X, X, X, X

    MT_WNMF.fieldNames = X, X, X, X

    MT_WNMF.fieldSeparator = 'nl'

    ignoreRecordsetName = true

    Meanwhile check source data format also, that structure should be below format

    root----


    0...unbound

    ...a......

    ...b.....

    ...c.....

    ...d....

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Oct 21, 2008 at 06:38 AM

    Hi Victor

    Sometimes the structure is having issue.

    Try

    <?xml version="1.0"?>
    <MT_WNMF>
            Root
                 <Message>A</Message>
                 <Message>B</Message>
                 <Message>C</Message>
                 <Message>D</Message>
    </MT_WNMF>
    
    Recordset Strcure Root
    
    Root.fieldNames Message, Message, Message, Message
    Root.fieldFixedLengths   1,1,1,1
    Root.fieldSeparator  'nl'
    Root.endSeparator 'nl'

    Thanks

    Gaurav

    Add comment
    10|10000 characters needed characters exceeded