<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>Question Re: Sybase replication server - Duplicate transaction handling . in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/sybase-replication-server-duplicate-transaction-handling/qaa-p/12050883#M4503430</link>
    <description>&lt;P&gt;Thanks for reply Mark , you almost cleared my doubts .Also after reading your comment &amp;amp; suggestion , I have new  doubts as below. &lt;/P&gt;&lt;P&gt;1). Will i2di/u2di get logged in exception log ? As Auto correction &amp;amp; i2none/u2none wont. &lt;/P&gt;&lt;P&gt;
2). With error class action can you please clear my understanding. &lt;/P&gt;&lt;P&gt;Is skipping a transaction is instructing Replication Server to roll back the current transaction ?? &lt;/P&gt;&lt;P&gt;=&amp;gt; Ignore ( Just skip of that duplicate transaction with not logging information to exception log. )
Instructs Replication Server to ignore the error and continue processing. ignore should be used when the data server error code indicates a successful execution or an inconsequential warning. &lt;/P&gt;&lt;P&gt;=&amp;gt; log ( It will also skip duplicate transaction but it will log detail in exception log)
Instructs Replication Server to roll back the current transaction, log it in the exceptions log, and then execute the next transaction. &lt;/P&gt;&lt;P&gt;@@Mark : Can you please share such script with me (sukritiverma9@gmail.com) if its handy with you. It will be big help.&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;P&gt;Sukriti&lt;/P&gt;</description>
    <pubDate>Fri, 30 Aug 2019 14:46:30 GMT</pubDate>
    <dc:creator>former_member628057</dc:creator>
    <dc:date>2019-08-30T14:46:30Z</dc:date>
    <item>
      <title>Sybase replication server - Duplicate transaction handling .</title>
      <link>https://community.sap.com/t5/technology-q-a/sybase-replication-server-duplicate-transaction-handling/qaq-p/12050882</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;
  &lt;P&gt;Good Day !&lt;/P&gt;
  &lt;P&gt;Need you suggestion here. &lt;/P&gt;
  &lt;P&gt;We have setup of table level replication with source as DB2 , target as HANA &amp;amp; replication is taken care by 1 sybase replication server. &lt;/P&gt;
  &lt;P&gt;Now whenever duplicate record found DSI shut downs, as of now we have not set any error class or auto correction feature. &lt;/P&gt;
  &lt;P&gt;But my client need is that DSI wont go down , or if in case it go down it resume itself (say via script code) &amp;amp; also duplicate record get logged so that one can check &amp;amp; decide it whether need to apply or skip that tran. &lt;/P&gt;
  &lt;P&gt;As per my understanding auto correct feature at connection level just converts insert/update to delete followed by insert . Which means it does not log or keep a track for duplicates transaction as its already taken care . Am I correct here ? &lt;/P&gt;
  &lt;P&gt;Also same is with (set &lt;STRONG&gt;dsi_command_convert&lt;/STRONG&gt; to 'i2none,u2none,d2none' ) , as it too perform semi auto correct operation. So it too wont log duplicate transactions information as its already taken care.&lt;/P&gt;
  &lt;P&gt;But as per my client need , I believe "Exception Error class" will help me to meet the need. As it will keep on running even if duplicate record found, it will send to exception table &amp;amp; so DSI wont be down , latter we can act on duplicate transaction in error class &amp;amp; decide what to do . Is my understanding correct on this &amp;amp; till now ? &lt;/P&gt;
  &lt;P&gt;&lt;BR /&gt;&lt;/P&gt;
  &lt;P&gt;Or can we achieve this with some other way also? Kindly suggest &amp;amp; share your thoughts on this. &lt;/P&gt;
  &lt;P&gt;&lt;BR /&gt;&lt;/P&gt;
  &lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;
  &lt;P&gt;Sukriti V&lt;/P&gt;</description>
      <pubDate>Wed, 21 Aug 2019 14:12:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/sybase-replication-server-duplicate-transaction-handling/qaq-p/12050882</guid>
      <dc:creator>former_member628057</dc:creator>
      <dc:date>2019-08-21T14:12:11Z</dc:date>
    </item>
    <item>
      <title>Re: Sybase replication server - Duplicate transaction handling .</title>
      <link>https://community.sap.com/t5/technology-q-a/sybase-replication-server-duplicate-transaction-handling/qaa-p/12050883#M4503430</link>
      <description>&lt;P&gt;Thanks for reply Mark , you almost cleared my doubts .Also after reading your comment &amp;amp; suggestion , I have new  doubts as below. &lt;/P&gt;&lt;P&gt;1). Will i2di/u2di get logged in exception log ? As Auto correction &amp;amp; i2none/u2none wont. &lt;/P&gt;&lt;P&gt;
2). With error class action can you please clear my understanding. &lt;/P&gt;&lt;P&gt;Is skipping a transaction is instructing Replication Server to roll back the current transaction ?? &lt;/P&gt;&lt;P&gt;=&amp;gt; Ignore ( Just skip of that duplicate transaction with not logging information to exception log. )
Instructs Replication Server to ignore the error and continue processing. ignore should be used when the data server error code indicates a successful execution or an inconsequential warning. &lt;/P&gt;&lt;P&gt;=&amp;gt; log ( It will also skip duplicate transaction but it will log detail in exception log)
Instructs Replication Server to roll back the current transaction, log it in the exceptions log, and then execute the next transaction. &lt;/P&gt;&lt;P&gt;@@Mark : Can you please share such script with me (sukritiverma9@gmail.com) if its handy with you. It will be big help.&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;P&gt;Sukriti&lt;/P&gt;</description>
      <pubDate>Fri, 30 Aug 2019 14:46:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/sybase-replication-server-duplicate-transaction-handling/qaa-p/12050883#M4503430</guid>
      <dc:creator>former_member628057</dc:creator>
      <dc:date>2019-08-30T14:46:30Z</dc:date>
    </item>
    <item>
      <title>Re: Sybase replication server - Duplicate transaction handling .</title>
      <link>https://community.sap.com/t5/technology-q-a/sybase-replication-server-duplicate-transaction-handling/qaa-p/12050884#M4503431</link>
      <description>&lt;P&gt;1 - no, none of the &lt;EM&gt;&lt;STRONG&gt;dsi_command_convert&lt;/STRONG&gt;&lt;/EM&gt; settings cause transactions to be dumped to the exceptions log&lt;/P&gt;&lt;P&gt;2 - an error causes a rollback; whether a skipped/rolled-back transaction gets written to the exceptions log depends on which option you set for the error number in question&lt;/P&gt;&lt;P&gt;I suggest you setup a test RS environment and try out the various items I mentioned (above); then you send through some 'duplicate' transactions and see what happens.&lt;/P&gt;</description>
      <pubDate>Mon, 02 Sep 2019 02:38:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/sybase-replication-server-duplicate-transaction-handling/qaa-p/12050884#M4503431</guid>
      <dc:creator>Mark_A_Parsons</dc:creator>
      <dc:date>2019-09-02T02:38:48Z</dc:date>
    </item>
  </channel>
</rss>

