<?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>topic Re: Error during Cluster Import in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-during-cluster-import/m-p/3478803#M836268</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you have the sample code what you used for both import and export data into cluster B2&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 24 Jul 2009 21:27:43 GMT</pubDate>
    <dc:creator>former_member1319440</dc:creator>
    <dc:date>2009-07-24T21:27:43Z</dc:date>
    <item>
      <title>Error during Cluster Import</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-during-cluster-import/m-p/3478800#M836265</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;I need to share with you a problem which is going me crazy regarding IMPORT/EXPORT from Database clusters.&lt;/P&gt;&lt;P&gt;I have to backup contents from cluster PCL2 index B2 to a cluster-copy ZPCL2, same index.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, structure are exactly equals, and I tried this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&amp;gt; get records from PCL2 by select on table-keys&lt;/P&gt;&lt;P&gt;&amp;lt;- insert fetched records into ZPCL2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;No problem for that, after the select an INSERT ZPCL2 FROM TABLE &amp;lt;rec&amp;gt; works perfectly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, there is the issue:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I wrote a little program which reads contents from Backup Cluster ZPCL2, using the IMPORT statement.&lt;/P&gt;&lt;P&gt;At import time, it abends with CX_SY_COMPRESSION_FAILED -&amp;gt; run-time error IMPORT_DECOMPRESSION_ERROR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OSS Note 457835 talks about a fixed lock at read/write time of a Cluster table, but this lock still lives until the end of the session. This is not my case, I'am running two different programs and so two different sessions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So i tried out this, in the backup program:&lt;/P&gt;&lt;P&gt;-&amp;gt; select from pcl2 -&amp;gt; IMPORT of data -&amp;gt; EXPORT of data in ZPCL2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And the reading program now works...&lt;/P&gt;&lt;P&gt;Seems that the system uses a compression algorithm that is different table by table and then data compressed for table PCL2 cannot be decompressed if copied in an another table...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyone knows something???&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Feb 2008 11:47:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-during-cluster-import/m-p/3478800#M836265</guid>
      <dc:creator>former_member199581</dc:creator>
      <dc:date>2008-02-29T11:47:07Z</dc:date>
    </item>
    <item>
      <title>Re: Error during Cluster Import</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-during-cluster-import/m-p/3478801#M836266</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The behaviour you describe makes sense to me - as we know that cluster tables are &lt;EM&gt;different&lt;/EM&gt;.  The SAP documentation says: &lt;STRONG&gt;Besides the actual data values, the data string contains information on the structure of the data and which table it comes from.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This may be why your straightforward SELECT/INSERT failed.  The structural information was inconsistent with the new table.  What would be interesting, would be to see the hex of the VARDATA field for apparently identical records in each table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;matt&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Feb 2008 12:28:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-during-cluster-import/m-p/3478801#M836266</guid>
      <dc:creator>matt</dc:creator>
      <dc:date>2008-02-29T12:28:56Z</dc:date>
    </item>
    <item>
      <title>Re: Error during Cluster Import</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-during-cluster-import/m-p/3478802#M836267</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, thank you so much Matt, now it makes sense!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And I can confirm you that identical values are written in backup cluster with a different HEX..maybe I should understand the problem before...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Roby.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Roberto Pagni on Feb 29, 2008 2:01 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Feb 2008 12:54:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-during-cluster-import/m-p/3478802#M836267</guid>
      <dc:creator>former_member199581</dc:creator>
      <dc:date>2008-02-29T12:54:00Z</dc:date>
    </item>
    <item>
      <title>Re: Error during Cluster Import</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-during-cluster-import/m-p/3478803#M836268</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you have the sample code what you used for both import and export data into cluster B2&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Jul 2009 21:27:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-during-cluster-import/m-p/3478803#M836268</guid>
      <dc:creator>former_member1319440</dc:creator>
      <dc:date>2009-07-24T21:27:43Z</dc:date>
    </item>
  </channel>
</rss>

