<?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 DB2 coumn names and data types from DB2 as source Endpoint in Qlik Replicate</title>
    <link>https://community.qlik.com/t5/Qlik-Replicate/DB2-coumn-names-and-data-types-from-DB2-as-source-Endpoint/m-p/1932653#M2735</link>
    <description>&lt;P&gt;I am defining a task with a DB2 table as source and kafka topic as a target.&amp;nbsp; I am trying to get the list of all columns of the table, and want to download it.&amp;nbsp; I can see the list when I click on Table settings and transform tab under Table settings.&amp;nbsp; But don't see a way to download that.&amp;nbsp; The table has over 400 columns.&lt;/P&gt;
&lt;P&gt;Is it possible to do it from Qlik?&amp;nbsp; Where / how do I do it, if it is possible?&lt;/P&gt;
&lt;P&gt;Thank you&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 18 May 2022 18:14:39 GMT</pubDate>
    <dc:creator>adbdkb</dc:creator>
    <dc:date>2022-05-18T18:14:39Z</dc:date>
    <item>
      <title>DB2 coumn names and data types from DB2 as source Endpoint</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/DB2-coumn-names-and-data-types-from-DB2-as-source-Endpoint/m-p/1932653#M2735</link>
      <description>&lt;P&gt;I am defining a task with a DB2 table as source and kafka topic as a target.&amp;nbsp; I am trying to get the list of all columns of the table, and want to download it.&amp;nbsp; I can see the list when I click on Table settings and transform tab under Table settings.&amp;nbsp; But don't see a way to download that.&amp;nbsp; The table has over 400 columns.&lt;/P&gt;
&lt;P&gt;Is it possible to do it from Qlik?&amp;nbsp; Where / how do I do it, if it is possible?&lt;/P&gt;
&lt;P&gt;Thank you&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 18 May 2022 18:14:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/DB2-coumn-names-and-data-types-from-DB2-as-source-Endpoint/m-p/1932653#M2735</guid>
      <dc:creator>adbdkb</dc:creator>
      <dc:date>2022-05-18T18:14:39Z</dc:date>
    </item>
    <item>
      <title>Re: DB2 coumn names and data types from DB2 as source Endpoint</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/DB2-coumn-names-and-data-types-from-DB2-as-source-Endpoint/m-p/1932722#M2740</link>
      <description>&lt;P&gt;The data is in a per table blob in the per task&amp;nbsp; dynamic_metadata.sqlite file.&amp;nbsp; The only somewhat supportable option is to use REPCTL dumpmetadata . As always start with&amp;nbsp;dumpmetadata&amp;nbsp; -?&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;REPCTL -d &amp;lt;datadir&amp;gt; dumpmetadata &amp;lt;datadir\tasks\&amp;lt;taskname&amp;gt;\dynamic_metadata.sqlite&amp;gt;  out_dir=&amp;lt;you-pick&amp;gt;&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Now go down the&amp;nbsp; table_defs directory in the output and you will find JSON files describing each version of each table on input and output side&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In my example tables JAW and TEST renamed from source schema&amp;nbsp;ATT_USER&amp;nbsp; from an endpoint &amp;lt;Oracle_Source&amp;gt; renamed to schema HEIN in target EP &amp;lt;Oracle_Target&amp;gt; after several output transformation tests this looks like:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;ATT_USER__JAW__Oracle_Source__1.json
ATT_USER__TEST__Oracle_Source__1.json
HEIN__JAW__Oracle_Target__1.json
HEIN__TEST__Oracle_Target__1.json
HEIN__TEST__Oracle_Target__2.json
HEIN__TEST__Oracle_Target__3.json
HEIN__TEST__Oracle_Target__4.json&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Below the sample output from a tiny/simple "JAW" table&lt;/P&gt;
&lt;P&gt;Hope this helps,&lt;/P&gt;
&lt;P&gt;Hein&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;C:\Data_6_3\tasks\Oracle_to_Oracle\20220518170032703575\table_defs&amp;gt;type HEIN__JAW__Oracle_Target__1.json
// Created at sequence: 3
{
        "name": "JAW",
        "owner":        "HEIN",
        "id":   1,
        "version":      1,
        "component_id": "Oracle_Target",
        "columns":      [{
                        "name": "X",
                        "id":   1,
                        "orig_db_id":   1,
                        "type": "kAR_DATA_TYPE_NUMERIC",
                        "length":       40,
                        "precision":    38,
                        "orig_db_type": 2,
                        "bind_db_type": 5,
                        "attributes":   33,
                        "flags":        3072,
                        "is_pk":        true,
                        "actual_converter_name":        "UTF-8"
                }, {
                        "name": "Y",
                        "id":   2,
                        "orig_db_id":   1,
                        "type": "kAR_DATA_TYPE_STR",
                        "length":       123,
                        "nullable":     true,
                        "orig_db_type": 1,
                        "bind_db_type": 1,
                        "attributes":   2,
                        "flags":        2048,
                        "actual_converter_name":        "UTF-8"
                }],
        "primary_key":  {
                "name": "PK_JAW",
                "segments":     [{
                                "name": "X",
                                "position":     1,
                                "id":   1
                        }],
                "pk_origin":    "primary_key_origin_source_pk",
                "is_clustered": false,
                "tablespace_name":      "USERS"
        },
        "record_size":  163,
        "record_identifier":    "RECORD_IDENTIFIER_NON_CLUSTERED_PRIMARY_KEY"
}&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 18 May 2022 21:11:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/DB2-coumn-names-and-data-types-from-DB2-as-source-Endpoint/m-p/1932722#M2740</guid>
      <dc:creator>Heinvandenheuvel</dc:creator>
      <dc:date>2022-05-18T21:11:28Z</dc:date>
    </item>
    <item>
      <title>Re: DB2 coumn names and data types from DB2 as source Endpoint</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/DB2-coumn-names-and-data-types-from-DB2-as-source-Endpoint/m-p/1932738#M2741</link>
      <description>&lt;P&gt;While you are in Replicate Console on the Transform for a given Table you can click on Filter Tab as this will allow&lt;/P&gt;
&lt;P&gt;you to use the scroll key and arrow and right click to copy all the Columns for the given Table.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Bill_Steinagle_0-1652912203397.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/79793i5CF938AC916B8D30/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Bill_Steinagle_0-1652912203397.png" alt="Bill_Steinagle_0-1652912203397.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Let us know if this helps.&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Bill Steinagle&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 18 May 2022 22:17:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/DB2-coumn-names-and-data-types-from-DB2-as-source-Endpoint/m-p/1932738#M2741</guid>
      <dc:creator>Bill_Steinagle</dc:creator>
      <dc:date>2022-05-18T22:17:20Z</dc:date>
    </item>
  </channel>
</rss>

