<?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>article Qlik Replicate DB2 z/OS - [SOURCE_CAPTURE  ]E:  RetCode: SQL_ERROR  SqlState: 42501 NativeError: -551 Message: [IBM][CLI Driver][DB2] SQL0551N in Official Support Articles</title>
    <link>https://community.qlik.com/t5/Official-Support-Articles/Qlik-Replicate-DB2-z-OS-SOURCE-CAPTURE-E-RetCode-SQL-ERROR/ta-p/2055850</link>
    <description>&lt;P&gt;Qlik Replicate with a DB2 z/OS source endpoint (using R4Z) displays the following errors:&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;SYSLOG :&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN&gt;DSNT408I SQLCODE = -551, ERROR: CHA814 DOES NOT HAVE THE PRIVILEGE TO&lt;/SPAN&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN&gt;PERFORM OPERATION EXECUTION ON OBJECT R4ZUSERT.R4Z_CDC_UDTF&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Task log:&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN&gt; [SOURCE_CAPTURE ]E: RetCode: SQL_ERROR SqlState: 42501 NativeError: -551 Message: [IBM][CLI Driver][DB2] SQL0551N The statement failed because the authorization ID does not have the required authorization or privilege to perform the operation. Authorization ID: "USERID". Operation: "EXECUTION". Object: "R4ZUSER.R4Z_CDC_UDTF__CDC1". SQLSTATE=42501 [1022502] (ar_odbc_stmt.c:4011)&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H3&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Resolution&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H3&gt;
&lt;P&gt;Verify that all permissions and authorizations are properly set.&amp;nbsp;&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;
&lt;P&gt;Run job &lt;FONT face="courier new,courier"&gt;DO4GRANT&lt;/FONT&gt;. It will:&lt;/P&gt;
&lt;UL class="lia-list-style-type-circle"&gt;
&lt;LI&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;GRANT SELECT&lt;/FONT&gt; to the ODBC user on the following tables:&lt;/P&gt;
&lt;UL class="lia-list-style-type-circle"&gt;
&lt;LI&gt;&lt;FONT face="courier new,courier"&gt;SYSIBM.SYSTABLES&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;FONT face="courier new,courier"&gt;SYSIBM.SYSTABLESPACE&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;FONT face="courier new,courier"&gt;SYSIBM.SYSCOLUMNS&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;FONT face="courier new,courier"&gt;SYSIBM.SYSROUTINES&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;FONT face="courier new,courier"&gt;SYSIBM.SYSDUMMY1&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;FONT face="courier new,courier"&gt;ALTER SYSIBM.SYSTABLES&lt;/FONT&gt; enabling &lt;FONT face="courier new,courier"&gt;DATA CAPTURE&lt;/FONT&gt;.&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Jobs should terminate with&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;CODE&gt;RC 0&lt;/CODE&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;or&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;CODE&gt;RC 4&lt;/CODE&gt;.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Authorizations:&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;The submitting user must have either of the following authorizations:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;FONT face="courier new,courier"&gt;SYSADM&lt;/FONT&gt; or &lt;FONT face="courier new,courier"&gt;SYSCTRL&lt;/FONT&gt; authority.&lt;/LI&gt;
&lt;LI&gt;&lt;FONT face="courier new,courier"&gt;TRACE/ MONITOR2&lt;/FONT&gt; with grant option.&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;LI&gt;Provide security permissions for the WLM started task to cancel itself. In RACF this is done as follows:&lt;/LI&gt;
&lt;OL&gt;
&lt;LI&gt;
&lt;P&gt;Define a &lt;FONT face="courier new,courier"&gt;PROFILE&lt;/FONT&gt; for the &lt;FONT face="courier new,courier"&gt;OPERCMDS&lt;/FONT&gt; class called&lt;FONT face="courier new,courier"&gt; PERMIT MVS.CANCEL.STC.mbrname.*&lt;/FONT&gt;:&lt;/P&gt;
&lt;P&gt;&lt;CODE&gt;RDEFINE OPERCMDS MVS.CANCEL.STC.mbrname.* UACC(NONE) SETROPTS REFRESH RACLIST(OPERCMDS)&lt;/CODE&gt;&lt;/P&gt;
&lt;P&gt;Where&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;CODE&gt;mbrname&lt;/CODE&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;is the name of the started task.&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;Grant the USERID assigned to the WLM started TASK the authority to cancel the started task:&lt;/P&gt;
&lt;P&gt;&lt;CODE&gt;PERMIT MVS.CANCEL.STC.mbrname.* CL(OPERCMDS) ACCESS(UPDATE) ID(stcuser)&lt;/CODE&gt;&lt;/P&gt;
&lt;P&gt;Where&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;CODE&gt;stcuser&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/CODE&gt;is the USERID associated with the WLM started task.&lt;/P&gt;
&lt;/LI&gt;
&lt;/OL&gt;
&lt;/OL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H3 id="anchor-3" tabindex="-1"&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Required permissions&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H3&gt;
&lt;P&gt;To enable&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="mc-variable CommonComponents.QDI_ProductName variable"&gt;Replicate&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;to extract data from the source tables (Full Load and Change Data Capture), the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://help.qlik.com/en-US/replicate/Content/Replicate/Main/IBM%20DB2%20for%20LUW/set_up_ibm_db2_for_luw_db_as_source.htm#user" target="_blank" rel="noopener"&gt;user specified in the IBM DB2 for z/OS&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="mc-variable Replicate.endpoint variable"&gt;endpoint&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;settings&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;must be granted the following permissions:&lt;/P&gt;
&lt;UL class="lia-list-style-type-circle"&gt;
&lt;LI&gt;&lt;FONT face="courier new,courier"&gt;EXECUTE&lt;/FONT&gt; on the IFI reading the UDTF (only required for Change Data Capture)&lt;/LI&gt;
&lt;LI&gt;&lt;FONT face="courier new,courier"&gt;SELECT&lt;/FONT&gt; on the source tables and on the following system catalog tables:
&lt;UL class="lia-list-style-type-circle"&gt;
&lt;LI&gt;&lt;FONT face="courier new,courier"&gt;SYSIBM.SYSDUMMY1&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;FONT face="courier new,courier"&gt;SYSIBM.SYSTABLES&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;FONT face="courier new,courier"&gt;SYSIBM.SYSTABLESPACE&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;FONT face="courier new,courier"&gt;SYSIBM.SYSPARMS&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;FONT face="courier new,courier"&gt;SYSIBM.SYSROUTINES&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;FONT face="courier new,courier"&gt;SYSIBM.SYSCOLUMNS&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;FONT face="courier new,courier"&gt;SYSIBM.SYSLGRNX&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;FONT face="courier new,courier"&gt;SYSIBM.SYSTABLEPART&lt;/FONT&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;LI&gt;&lt;FONT face="courier new,courier"&gt;MONITOR2&lt;/FONT&gt; to be able to start IFI sessions (only required for Change Data Capture)&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H4&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Environment&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H4&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;Qlik Replicate&amp;nbsp; and&amp;nbsp; corresponding R4Z( all versions) &lt;BR /&gt;IBM DB2 z/OS&amp;nbsp; ( all supported versions)&amp;nbsp;&lt;/P&gt;
&lt;H3&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Related Content&lt;/STRONG&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/H3&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;A href="https://help.qlik.com/en-US/replicate/November2022/Content/Global_Common/Content/SharedReplicateHDD/R4Z_Install_Config/installing-the-r4z-product.htm" target="_blank" rel="noopener"&gt;Installing and upgrading the R4Z product in z/OS | Qlik Replicate Help&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://help.qlik.com/en-US/replicate/November2022/Content/Global_Common/Content/SharedReplicateHDD/IBM4DB2-zos/prereq_db2.htm#Required%3E" target="_blank" rel="noopener"&gt;Prerequisites | Qlik Replicate Help&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 03 Apr 2023 09:04:41 GMT</pubDate>
    <dc:creator>Barb_Fill21</dc:creator>
    <dc:date>2023-04-03T09:04:41Z</dc:date>
    <item>
      <title>Qlik Replicate DB2 z/OS - [SOURCE_CAPTURE  ]E:  RetCode: SQL_ERROR  SqlState: 42501 NativeError: -551 Message: [IBM][CLI Driver][DB2] SQL0551N</title>
      <link>https://community.qlik.com/t5/Official-Support-Articles/Qlik-Replicate-DB2-z-OS-SOURCE-CAPTURE-E-RetCode-SQL-ERROR/ta-p/2055850</link>
      <description>&lt;P&gt;Qlik Replicate with a DB2 z/OS source endpoint (using R4Z) displays the following errors:&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;SYSLOG :&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN&gt;DSNT408I SQLCODE = -551, ERROR: CHA814 DOES NOT HAVE THE PRIVILEGE TO&lt;/SPAN&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN&gt;PERFORM OPERATION EXECUTION ON OBJECT R4ZUSERT.R4Z_CDC_UDTF&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Task log:&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN&gt; [SOURCE_CAPTURE ]E: RetCode: SQL_ERROR SqlState: 42501 NativeError: -551 Message: [IBM][CLI Driver][DB2] SQL0551N The statement failed because the authorization ID does not have the required authorization or privilege to perform the operation. Authorization ID: "USERID". Operation: "EXECUTION". Object: "R4ZUSER.R4Z_CDC_UDTF__CDC1". SQLSTATE=42501 [1022502] (ar_odbc_stmt.c:4011)&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H3&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Resolution&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H3&gt;
&lt;P&gt;Verify that all permissions and authorizations are properly set.&amp;nbsp;&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;
&lt;P&gt;Run job &lt;FONT face="courier new,courier"&gt;DO4GRANT&lt;/FONT&gt;. It will:&lt;/P&gt;
&lt;UL class="lia-list-style-type-circle"&gt;
&lt;LI&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;GRANT SELECT&lt;/FONT&gt; to the ODBC user on the following tables:&lt;/P&gt;
&lt;UL class="lia-list-style-type-circle"&gt;
&lt;LI&gt;&lt;FONT face="courier new,courier"&gt;SYSIBM.SYSTABLES&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;FONT face="courier new,courier"&gt;SYSIBM.SYSTABLESPACE&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;FONT face="courier new,courier"&gt;SYSIBM.SYSCOLUMNS&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;FONT face="courier new,courier"&gt;SYSIBM.SYSROUTINES&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;FONT face="courier new,courier"&gt;SYSIBM.SYSDUMMY1&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;FONT face="courier new,courier"&gt;ALTER SYSIBM.SYSTABLES&lt;/FONT&gt; enabling &lt;FONT face="courier new,courier"&gt;DATA CAPTURE&lt;/FONT&gt;.&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Jobs should terminate with&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;CODE&gt;RC 0&lt;/CODE&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;or&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;CODE&gt;RC 4&lt;/CODE&gt;.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Authorizations:&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;The submitting user must have either of the following authorizations:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;FONT face="courier new,courier"&gt;SYSADM&lt;/FONT&gt; or &lt;FONT face="courier new,courier"&gt;SYSCTRL&lt;/FONT&gt; authority.&lt;/LI&gt;
&lt;LI&gt;&lt;FONT face="courier new,courier"&gt;TRACE/ MONITOR2&lt;/FONT&gt; with grant option.&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;LI&gt;Provide security permissions for the WLM started task to cancel itself. In RACF this is done as follows:&lt;/LI&gt;
&lt;OL&gt;
&lt;LI&gt;
&lt;P&gt;Define a &lt;FONT face="courier new,courier"&gt;PROFILE&lt;/FONT&gt; for the &lt;FONT face="courier new,courier"&gt;OPERCMDS&lt;/FONT&gt; class called&lt;FONT face="courier new,courier"&gt; PERMIT MVS.CANCEL.STC.mbrname.*&lt;/FONT&gt;:&lt;/P&gt;
&lt;P&gt;&lt;CODE&gt;RDEFINE OPERCMDS MVS.CANCEL.STC.mbrname.* UACC(NONE) SETROPTS REFRESH RACLIST(OPERCMDS)&lt;/CODE&gt;&lt;/P&gt;
&lt;P&gt;Where&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;CODE&gt;mbrname&lt;/CODE&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;is the name of the started task.&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;Grant the USERID assigned to the WLM started TASK the authority to cancel the started task:&lt;/P&gt;
&lt;P&gt;&lt;CODE&gt;PERMIT MVS.CANCEL.STC.mbrname.* CL(OPERCMDS) ACCESS(UPDATE) ID(stcuser)&lt;/CODE&gt;&lt;/P&gt;
&lt;P&gt;Where&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;CODE&gt;stcuser&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/CODE&gt;is the USERID associated with the WLM started task.&lt;/P&gt;
&lt;/LI&gt;
&lt;/OL&gt;
&lt;/OL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H3 id="anchor-3" tabindex="-1"&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Required permissions&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H3&gt;
&lt;P&gt;To enable&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="mc-variable CommonComponents.QDI_ProductName variable"&gt;Replicate&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;to extract data from the source tables (Full Load and Change Data Capture), the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://help.qlik.com/en-US/replicate/Content/Replicate/Main/IBM%20DB2%20for%20LUW/set_up_ibm_db2_for_luw_db_as_source.htm#user" target="_blank" rel="noopener"&gt;user specified in the IBM DB2 for z/OS&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="mc-variable Replicate.endpoint variable"&gt;endpoint&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;settings&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;must be granted the following permissions:&lt;/P&gt;
&lt;UL class="lia-list-style-type-circle"&gt;
&lt;LI&gt;&lt;FONT face="courier new,courier"&gt;EXECUTE&lt;/FONT&gt; on the IFI reading the UDTF (only required for Change Data Capture)&lt;/LI&gt;
&lt;LI&gt;&lt;FONT face="courier new,courier"&gt;SELECT&lt;/FONT&gt; on the source tables and on the following system catalog tables:
&lt;UL class="lia-list-style-type-circle"&gt;
&lt;LI&gt;&lt;FONT face="courier new,courier"&gt;SYSIBM.SYSDUMMY1&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;FONT face="courier new,courier"&gt;SYSIBM.SYSTABLES&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;FONT face="courier new,courier"&gt;SYSIBM.SYSTABLESPACE&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;FONT face="courier new,courier"&gt;SYSIBM.SYSPARMS&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;FONT face="courier new,courier"&gt;SYSIBM.SYSROUTINES&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;FONT face="courier new,courier"&gt;SYSIBM.SYSCOLUMNS&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;FONT face="courier new,courier"&gt;SYSIBM.SYSLGRNX&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;FONT face="courier new,courier"&gt;SYSIBM.SYSTABLEPART&lt;/FONT&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;LI&gt;&lt;FONT face="courier new,courier"&gt;MONITOR2&lt;/FONT&gt; to be able to start IFI sessions (only required for Change Data Capture)&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H4&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Environment&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H4&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;Qlik Replicate&amp;nbsp; and&amp;nbsp; corresponding R4Z( all versions) &lt;BR /&gt;IBM DB2 z/OS&amp;nbsp; ( all supported versions)&amp;nbsp;&lt;/P&gt;
&lt;H3&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Related Content&lt;/STRONG&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/H3&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;A href="https://help.qlik.com/en-US/replicate/November2022/Content/Global_Common/Content/SharedReplicateHDD/R4Z_Install_Config/installing-the-r4z-product.htm" target="_blank" rel="noopener"&gt;Installing and upgrading the R4Z product in z/OS | Qlik Replicate Help&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://help.qlik.com/en-US/replicate/November2022/Content/Global_Common/Content/SharedReplicateHDD/IBM4DB2-zos/prereq_db2.htm#Required%3E" target="_blank" rel="noopener"&gt;Prerequisites | Qlik Replicate Help&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 03 Apr 2023 09:04:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Official-Support-Articles/Qlik-Replicate-DB2-z-OS-SOURCE-CAPTURE-E-RetCode-SQL-ERROR/ta-p/2055850</guid>
      <dc:creator>Barb_Fill21</dc:creator>
      <dc:date>2023-04-03T09:04:41Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Replicate DB2 z/OS - [SOURCE_CAPTURE  ]E:  RetCode: SQL_ERROR  SqlState: 42501 NativeError: -551 Message: [IBM][CLI Driver][DB2] SQL0551N</title>
      <link>https://community.qlik.com/t5/Official-Support-Articles/Qlik-Replicate-DB2-z-OS-SOURCE-CAPTURE-E-RetCode-SQL-ERROR/tac-p/2091105#M9640</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;
&lt;P&gt;select privilege is used only in full load action, isn't it? As i understood in change data capture data will be captured from logs and user don't need to keep data from table. I'am wrong?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best,&lt;/P&gt;
&lt;P&gt;Fabio&lt;/P&gt;</description>
      <pubDate>Thu, 06 Jul 2023 13:19:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Official-Support-Articles/Qlik-Replicate-DB2-z-OS-SOURCE-CAPTURE-E-RetCode-SQL-ERROR/tac-p/2091105#M9640</guid>
      <dc:creator>fabiobonetto</dc:creator>
      <dc:date>2023-07-06T13:19:59Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Replicate DB2 z/OS - [SOURCE_CAPTURE  ]E:  RetCode: SQL_ERROR  SqlState: 42501 NativeError: -551 Message: [IBM][CLI Driver][DB2] SQL0551N</title>
      <link>https://community.qlik.com/t5/Official-Support-Articles/Qlik-Replicate-DB2-z-OS-SOURCE-CAPTURE-E-RetCode-SQL-ERROR/tac-p/2091970#M9653</link>
      <description>&lt;P&gt;Hi Fabio,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The select privileges are not used ONLY in full load. Whenever a task is started Replicate reads the table metadata and other system information for the system tables. If you turn on TRACE logging on SOURCE_CAPTURE and METADATA_MANAGER you can see in the log the exact select commands that&amp;nbsp; are performed by the task.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As mentioned above, and also indicated in the Replicate users guide, there are some permissions that are required ONLY for CDC and not for Full Load but not vice versa.&lt;/P&gt;
&lt;P&gt;(&lt;A href="https://help.qlik.com/en-US/replicate/May2023/Content/Global_Common/Content/SharedReplicateHDD/IBM4DB2-zos/prereq_db2.htm#Prerequisites" target="_blank"&gt;https://help.qlik.com/en-US/replicate/May2023/Content/Global_Common/Content/SharedReplicateHDD/IBM4DB2-zos/prereq_db2.htm#Prerequisites&lt;/A&gt;)&lt;/P&gt;
&lt;P&gt;Hope that this answers your question. IF you have more specific question regarding a specific permission requirement please open a case.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks &amp;amp; regards,&lt;/P&gt;
&lt;P&gt;Orit&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jul 2023 08:22:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Official-Support-Articles/Qlik-Replicate-DB2-z-OS-SOURCE-CAPTURE-E-RetCode-SQL-ERROR/tac-p/2091970#M9653</guid>
      <dc:creator>OritA</dc:creator>
      <dc:date>2023-07-10T08:22:46Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Replicate DB2 z/OS - [SOURCE_CAPTURE  ]E:  RetCode: SQL_ERROR  SqlState: 42501 NativeError: -551 Message: [IBM][CLI Driver][DB2] SQL0551N</title>
      <link>https://community.qlik.com/t5/Official-Support-Articles/Qlik-Replicate-DB2-z-OS-SOURCE-CAPTURE-E-RetCode-SQL-ERROR/tac-p/2091987#M9656</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I've resolved/found issue. When I've a LOB data Replicate don't read data directly from logs but need to query data from table. With this behaviour in the meantime Replicate catch change from logs and the query, the LOB could be newly changed and replicate the wrong data.&lt;/P&gt;
&lt;P&gt;For this reason I asked if SELECT grant was needed for read data changing.&lt;/P&gt;
&lt;P&gt;Best,&lt;/P&gt;
&lt;P&gt;Fabio&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jul 2023 08:45:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Official-Support-Articles/Qlik-Replicate-DB2-z-OS-SOURCE-CAPTURE-E-RetCode-SQL-ERROR/tac-p/2091987#M9656</guid>
      <dc:creator>fabiobonetto</dc:creator>
      <dc:date>2023-07-10T08:45:32Z</dc:date>
    </item>
  </channel>
</rss>

