Skip to Content
avatar image
Former Member

Sender File adapter : Alert are possible.

Dear All

i had a Scenario of <u>file to jdbc</u>.I am using FCC(content conversion ) at sender file adapter.

<b>if the file is not having proper text field,or if its's blank file...

i want to generate an alert..</b>

while testing with a blank file , my file sender adapter is giving the error but their are no alert...

even in alert rule , i had specified file adapter ,Sender/Receive interface also

Rsalerttest : working properly.

Rsalertdisp : no dump for sender file adapter error

<u>for mapping error my other alert rule are woking and generating the alert sucessfully</u>.. for the same interface

any guess where could be the error..

Regards

Ajay Pant

null

Message was edited by:

ajay pant

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • avatar image
    Former Member
    Oct 03, 2007 at 09:01 AM

    Hi Ajay,

    Just chek the Alert Rules in the Alert Configuration.

    check t-code = ALRTDISP of the alerts.

    <b>

    Thanks</b>

    Farooq.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi all

      Alert should generate for the FCC error :

      Error: Conversion of complete file content to XML format failed around position 0: Exception: ERROR converting document line no. 9 according to structure 'ROOT':java.lang.Exception: Consistency error: field(s) missing - specify 'lastFieldsOptional' parameter to allow this

      i had used FCC parameters :

      NODE.fieldFixedLengths

      NODE.fieldNames

      NODE.processFieldNames

      Regards

      AP

  • avatar image
    Former Member
    Oct 03, 2007 at 09:09 AM

    Hi

    Are you able to see the alerts in ALRTDISP? You can test them using the pgm RSALERTTEST..I hope it helps..

    have a look at this Blog also

    /people/michal.krawczyk2/blog/2005/09/09/xi-alerts--troubleshooting-guide

    and this thread

    alerts-are-not-working

    Thanks !!

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Dear ALL

      i had mentioned that RSALERTTEST is working properly.

      and my Alert rule of :INTEGRATION SERVER: MAPPING ERROR is working sucessfully for the same interface.

      the issue is with Sender File Adapter.

      Regards,

      Ajay Pant

  • avatar image
    Former Member
    Oct 03, 2007 at 09:28 AM

    HI,

    For alert configuration see the belowlinks,.But in your case if the send message having the empty fields, we can handle this in FCC parameters

    xml.fieldoptional = yes

    Parameter NameA.fieldFixedLengths defined.

    &#9675; If the inbound structure contains more fields than in NameA.fieldNames or NameA.fieldFixedLengths the conversion is executed.

    Additional fields in the structure are ignored.

    &#9675; If the inbound structure contains less fields than specified in NameA.fieldNames, conversion is terminated with an error message.

    If the last field only is shorter than defined or is missing completely, the conversion is executed. The contents of the last field are then applied to the XML element as found. Consequently, the value can be incomplete or empty.

    /people/michal.krawczyk2/blog/2005/09/09/xi-alerts--step-by-step

    for CCMS

    /people/aravindh.prasanna/blog/2005/12/23/configuring-scenario-specific-e-mail-alerts-in-xi-ccms-part--1 -- ccms alerts - 1

    /people/aravindh.prasanna/blog/2005/12/24/configuring-scenario-specific-e-mail-alerts-in-xi-ccms-part-2 -- ccms alerts -- 2

    /people/aravindh.prasanna/blog/2006/02/20/configuring-scenario-specific-e-mail-alerts-in-xi-ccms-part-3 -- ccms alerts --- 3

    Chilla

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi,

      It is better to handle in mapping itself.

      you can check the source field value , and if it is invalid or empty for respective field (which is mandatory) . then you can raise an alert form an UDF in mapping itself.

      see the below link

      Triggering XI Alerts from a User Defined Function - /people/bhavesh.kantilal/blog/2006/07/25/triggering-xi-alerts-from-a-user-defined-function

      Alerts with variables from the messages payload (XI) - UPDATED - /people/michal.krawczyk2/blog/2005/03/13/alerts-with-variables-from-the-messages-payload-xi--updated

      Chilla