<?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: Generating a QVX file with block layout in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Generating-a-QVX-file-with-block-layout/m-p/1661763#M1232508</link>
    <description>&lt;P&gt;Hey Marc, looks like you have been doing your homework here, let me see if I can find the right person to have a look at things for you, may take a few days with the holidays and vacations etc., which I know may be a bit of a problem, but I will see what I can do.&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Brett&lt;/P&gt;</description>
    <pubDate>Tue, 31 Dec 2019 14:58:26 GMT</pubDate>
    <dc:creator>Brett_Bleess</dc:creator>
    <dc:date>2019-12-31T14:58:26Z</dc:date>
    <item>
      <title>Generating a QVX file with block layout</title>
      <link>https://community.qlik.com/t5/QlikView/Generating-a-QVX-file-with-block-layout/m-p/1661751#M1232506</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm currently developing a 3rd-party QVX generator from an Oracle Database (PL/SQL language).&lt;/P&gt;&lt;P&gt;Everything's fine so far, following the official &lt;A href="https://help.qlik.com/en-US/qlikview-developer/April2019/Subsystems/QVXSDKAPI/Content/QV_QVXSDKAPI/QlikView%20QVX%20File%20Format/QVX-file-format1.htm" target="_blank" rel="noopener"&gt;QVX file format&lt;/A&gt; reference.&lt;/P&gt;&lt;P&gt;To be complete, I'd like to implement Block structure too but got a hard time trying to understand the expected layout.&lt;/P&gt;&lt;P&gt;The &lt;A href="https://help.qlik.com/en-US/qlikview-developer/April2019/Subsystems/QVXSDKAPI/Content/QV_QVXSDKAPI/QlikView%20QVX%20File%20Format/QvxTableHeader-element.htm" target="_blank" rel="noopener"&gt;doc&lt;/A&gt; says :&lt;/P&gt;&lt;TABLE cellspacing="0"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;UsesSeparatorByte&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;Flag specifying if extra byte for separating records is used. When record separator is used:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Record separator byte RS (0x1E) is written before every record.&lt;/LI&gt;&lt;LI&gt;File separator byte FS(0x1C) is written after the last record and indicates the end of file (EOF).&lt;/LI&gt;&lt;LI&gt;Null byte NUL(0x0) is used to pad to the next block boundary (used when BlockSize is given).&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Record separators have to be used together with BlockSize, otherwise their use is optional.&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;BlockSize&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;The specified block size (&amp;gt;1, _int64) together with&amp;nbsp; UsesSeparatorByte define a block structure to store formatted data. The use of block structure is optional and enables parallel load of the data. Blocks, except of the first one, are aligned to the whole file.&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Adding RS and FS is trivial, however there's nothing about how records (or fields) must be laid out within a block.&lt;/P&gt;&lt;P&gt;In particular :&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Can a block boundary occur in the middle of a record? of a field? Or does a block only contain whole (complete) records?&lt;/LI&gt;&lt;LI&gt;If the latter, what about large field (e.g. CLOB) that itself may exceed block size?&lt;/LI&gt;&lt;LI&gt;How to check whether the file is actually loaded in parallel (to somehow validate the generated structure)?&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;What I observed so far :&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;QVX load still works after adding RS and FS and specifying an &lt;U&gt;&lt;STRONG&gt;arbitrary&lt;/STRONG&gt;&lt;/U&gt; block size, so I must be missing something&lt;/LI&gt;&lt;LI&gt;Filling blocks with whole records only (and NUL padding to block size) works too, but if I manually modify the declared BlockSize (in header) without altering the data structure, it &lt;U&gt;continues&lt;/U&gt; working...&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Has anyone ever succeeded in implementing the block layout?&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;Marc.&lt;/P&gt;&lt;P&gt;&lt;EM&gt;(Using Qlikview Desktop 12.40)&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 26 Jan 2026 16:26:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Generating-a-QVX-file-with-block-layout/m-p/1661751#M1232506</guid>
      <dc:creator>MarcB</dc:creator>
      <dc:date>2026-01-26T16:26:21Z</dc:date>
    </item>
    <item>
      <title>Re: Generating a QVX file with block layout</title>
      <link>https://community.qlik.com/t5/QlikView/Generating-a-QVX-file-with-block-layout/m-p/1661763#M1232508</link>
      <description>&lt;P&gt;Hey Marc, looks like you have been doing your homework here, let me see if I can find the right person to have a look at things for you, may take a few days with the holidays and vacations etc., which I know may be a bit of a problem, but I will see what I can do.&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Brett&lt;/P&gt;</description>
      <pubDate>Tue, 31 Dec 2019 14:58:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Generating-a-QVX-file-with-block-layout/m-p/1661763#M1232508</guid>
      <dc:creator>Brett_Bleess</dc:creator>
      <dc:date>2019-12-31T14:58:26Z</dc:date>
    </item>
    <item>
      <title>Re: Generating a QVX file with block layout</title>
      <link>https://community.qlik.com/t5/QlikView/Generating-a-QVX-file-with-block-layout/m-p/1667893#M1232511</link>
      <description>&lt;P&gt;Hey Marc, apologies, I was out a couple of weeks, and I realized I have not heard back from the person I reached out to, so I have shouted out to someone else who I hope may be able to help, or get us to the right person.&amp;nbsp; Sorry for the delay.&amp;nbsp; Oh, SR2 is out for 12.40 too, just FYI.&amp;nbsp; I am doubtful it would fix anything, but I wanted to let you know.&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Brett&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jan 2020 20:25:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Generating-a-QVX-file-with-block-layout/m-p/1667893#M1232511</guid>
      <dc:creator>Brett_Bleess</dc:creator>
      <dc:date>2020-01-21T20:25:14Z</dc:date>
    </item>
    <item>
      <title>Re: Generating a QVX file with block layout</title>
      <link>https://community.qlik.com/t5/QlikView/Generating-a-QVX-file-with-block-layout/m-p/1669702#M1232515</link>
      <description>&lt;P&gt;Marc, I think I may have found the right person to have a look at things, just a matter of him having a few minutes to come have a look, just wanted to leave you a quick update.&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Brett&lt;/P&gt;</description>
      <pubDate>Mon, 27 Jan 2020 16:34:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Generating-a-QVX-file-with-block-layout/m-p/1669702#M1232515</guid>
      <dc:creator>Brett_Bleess</dc:creator>
      <dc:date>2020-01-27T16:34:41Z</dc:date>
    </item>
    <item>
      <title>Re: Generating a QVX file with block layout</title>
      <link>https://community.qlik.com/t5/QlikView/Generating-a-QVX-file-with-block-layout/m-p/1673620#M1232518</link>
      <description>&lt;P&gt;For those interested, here the first version of my PL/SQL QVX generator :&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/mbleron/Qlik/tree/master/oracle" target="_blank" rel="noopener"&gt;https://github.com/mbleron/Qlik/tree/master/oracle&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Sample usage :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;begin
  
  xutl_qvx.createFile(
    p_directory =&amp;gt; 'QVX_DIR'
  , p_filename  =&amp;gt; 'emp.qvx'
  , p_query     =&amp;gt; 'select * from scott.emp'
  , p_tablename =&amp;gt; 'SCOTT.EMP'
  );
  
end;
/&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After loading in QlikView :&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="emp.png" style="width: 478px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/28155i6BFC45D34F10FEF3/image-size/large?v=v2&amp;amp;px=999" role="button" title="emp.png" alt="emp.png" /&gt;&lt;/span&gt;&lt;/P&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;&lt;P&gt;&amp;nbsp;&lt;/P&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;&lt;P&gt;(Attached : emp.qvx)&lt;/P&gt;</description>
      <pubDate>Sun, 09 Feb 2020 15:12:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Generating-a-QVX-file-with-block-layout/m-p/1673620#M1232518</guid>
      <dc:creator>MarcB</dc:creator>
      <dc:date>2020-02-09T15:12:48Z</dc:date>
    </item>
    <item>
      <title>Re: Generating a QVX file with block layout</title>
      <link>https://community.qlik.com/t5/QlikView/Generating-a-QVX-file-with-block-layout/m-p/1687665#M1232522</link>
      <description>&lt;P&gt;Hey Marc, sorry for tardy reply here, but I wanted to be sure you saw the new IDEA area on Community:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Ideas/idb-p/qlik-ideas" target="_blank"&gt;https://community.qlik.com/t5/Ideas/idb-p/qlik-ideas&lt;/A&gt;&lt;/P&gt;&lt;P&gt;This might be the better option on this at this point to go post a request there for further work/update to things, that way other folks can vote on it, and if enough people are interested, that should help drive things.&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Brett&lt;/P&gt;</description>
      <pubDate>Wed, 25 Mar 2020 13:16:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Generating-a-QVX-file-with-block-layout/m-p/1687665#M1232522</guid>
      <dc:creator>Brett_Bleess</dc:creator>
      <dc:date>2020-03-25T13:16:25Z</dc:date>
    </item>
  </channel>
</rss>

