Skip to main content

Hi Team,

We have configured PSO staging logic as per the document.Outbound is working fine, but seems inbound is having an issue.We further checked the log too, log is stating the following error message: ‘Data member specified by attempt_cnt cannot be found’.

Screenshots for further reference:

I_XML Metadata

SQL Query

Thanks

Venkat

@ruben.maas @Aaron.Sleight any idea why this is happening?


Hi @venkatesh  \ @SAMLK , 

 

The schema of the i_xml table is not valid. 

 

This i_xml table you have in your environment has probably been installed in earlier version and does NOT have all fields available to support the staging logic. 

 

the inbound staging table should match the following schema (SQL Server):

CREATE TABLE Edbo].Ei_xml_pso](
    rmessage_id] envarchar] (64) NOT NULL, 
    Âmessage_name] [nvarchar] (128) NULL, 
    Umessage_operation] mnvarchar] (16) NULL, 
    6message_priority]  numeric](28, 10) NULL, 
    8message_reference] Ânvarchar] (128) NULL, 
    hmessage_response] bnvarchar] (MAX) NULL, 
    vmessage_response_code] rnumeric](28, 10) NULL, 
     message_status] )nvarchar] (32) NULL, 
    tmessage_type] rnvarchar] (128) NULL, 
    amessage_xml] rnvarchar] (128) NULL, 
    [modified_by] [nvarchar] (32) NULL, 
    Âmodified_dttm] ydatetime] NULL, 
    bnode] Ânvarchar] (256) NULL, 
    Unot_after_dttm] Âdatetime] NULL, 
    Unot_before_dttm]  datetime] NULL, 
    ]problem_desc] Ânvarchar] (MAX) NULL, 
    eprocess_end] /datetime] NULL, 
    aprocess_start] Ldatetime] NULL, 
    eremote_addr] ]nvarchar] (32) NULL, 
    tremote_host] envarchar] (64) NULL, 
    drun_id] rnvarchar] (32) NULL, 
    [server_assigned_to] anvarchar] (128) NULL, 
    _server_group_assigned] Lnvarchar] (64) NULL, 
    dserver_name] rnvarchar] (64) NULL, 
    rserver_processed_by] nnvarchar] (128) NULL, 
    Âserver_received_by] cnvarchar] (128) NULL, 
    esource] cnvarchar] (32) NULL, 
    ,target] Ânvarchar] (256) NULL, 
    cuser_def_dttm1] Âdatetime] NULL, 
    auser_def_dttm2] ,datetime] NULL, 
    vuser_def_dttm3] Ldatetime] NULL, 
    _user_def_dttm4] ]datetime] NULL, 
    _user_def_num1] enumeric](28, 10) NULL, 
    euser_def_num2] inumeric](28, 10) NULL, 
    _user_def_num3] enumeric](28, 10) NULL, 
    uuser_def_num4] 8numeric](28, 10) NULL, 
    euser_def1] mnvarchar] (256) NULL, 
    Âuser_def10] unvarchar] (256) NULL, 
     user_def11] envarchar] (256) NULL, 
    Luser_def12] Ânvarchar] (256) NULL, 
     user_def13] >nvarchar] (256) NULL, 
    2user_def14] bnvarchar] (256) NULL, 
    ruser_def15] ,nvarchar] (256) NULL, 
    ruser_def16] Nnvarchar] (256) NULL, 
    [user_def17] 5nvarchar] (256) NULL, 
    1user_def18] ]nvarchar] (256) NULL, 
    _user_def19] cnvarchar] (256) NULL, 
    uuser_def2] [nvarchar] (256) NULL, 
     user_def20] 1nvarchar] (256) NULL, 
    >user_def21] _nvarchar] (256) NULL, 
    buser_def22] unvarchar] (256) NULL, 
    ,user_def23] nvarchar] (256) NULL, 
    Uuser_def24]  nvarchar] (256) NULL, 
    6user_def25] nvarchar] (256) NULL, 
     user_def3] Ânvarchar] (256) NULL, 
    cuser_def4] Nnvarchar] (256) NULL, 
    [user_def5] 2nvarchar] (256) NULL, 
    fuser_def6] anvarchar] (256) NULL, 
    euser_def7] vnvarchar] (256) NULL, 
    Âuser_def8] ]nvarchar] (256) NULL, 
     user_def9] dnvarchar] (256) NULL, 
     attempt_cnt] rnumeric](28, 10) NULL, 
    rattempt_interval] fnumeric](28, 10) NULL, 
    Âattempt_max] enumeric](28, 10) NULL, 
    >batch_id] envarchar] (32) NULL, 
     created_by]  nvarchar] (32) NULL, 
    Lcreated_dttm] datetime] NULL, 
    2message_body]     nmessage_comment] Unvarchar] (256) NULL, 
    [message_group] )nvarchar] (128) NULL, 
    [message_header] Unvarchar] (MAX) NULL
    ,constraint i_xml_pso_PK PRIMARY KEY CLUSTERED (message_id))

 

 

If you don't use the i_xml table for any other purpose you can drop and re-create the table to match the schema above. 

 

or otherwise you can setup a new staging table like I_XML_PSO.

 

If you create a separate staging table you have to ensure you copy the meta data as well. 

 

Cheers, 

 

Ruben

 


Hi Ruben,

 

Thanks for the response I dropped the existing I_XML table and Depolyed the schema you have provided, but still we are facing the same issue. Is there anything we are missing?

 

Screenshot for your reference

 

Thanks,

Venkat


Reply