<?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 Skip the Creation of ALLDATA set in json libname engine in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Skip-the-Creation-of-ALLDATA-set-in-json-libname-engine/m-p/826978#M326655</link>
    <description>&lt;P&gt;I am using the json engine to parse some very large datafiles. I notice in the process of parsing these files that it creates a dataset of "ALLDATA" which seems to just be some sort of appending of all the other tables/objects that isn't super useful to me. From the reading I've done my understanding is this is an artifact of how sas processes json files rather than how a json file is structured necessarily (but open to corrections there). Is there a way to have it skip doing this to help speed up the process? Code I'm using is very simple but see below.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=""&gt;filename dat ZIP '/data/file.json.gz' GZIP;

libname dat json;&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Wed, 03 Aug 2022 19:14:54 GMT</pubDate>
    <dc:creator>A_SAS_Man</dc:creator>
    <dc:date>2022-08-03T19:14:54Z</dc:date>
    <item>
      <title>Skip the Creation of ALLDATA set in json libname engine</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Skip-the-Creation-of-ALLDATA-set-in-json-libname-engine/m-p/826978#M326655</link>
      <description>&lt;P&gt;I am using the json engine to parse some very large datafiles. I notice in the process of parsing these files that it creates a dataset of "ALLDATA" which seems to just be some sort of appending of all the other tables/objects that isn't super useful to me. From the reading I've done my understanding is this is an artifact of how sas processes json files rather than how a json file is structured necessarily (but open to corrections there). Is there a way to have it skip doing this to help speed up the process? Code I'm using is very simple but see below.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=""&gt;filename dat ZIP '/data/file.json.gz' GZIP;

libname dat json;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 03 Aug 2022 19:14:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Skip-the-Creation-of-ALLDATA-set-in-json-libname-engine/m-p/826978#M326655</guid>
      <dc:creator>A_SAS_Man</dc:creator>
      <dc:date>2022-08-03T19:14:54Z</dc:date>
    </item>
    <item>
      <title>Re: Skip the Creation of ALLDATA set in json libname engine</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Skip-the-Creation-of-ALLDATA-set-in-json-libname-engine/m-p/826981#M326656</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/234586"&gt;@A_SAS_Man&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;I am using the json engine to parse some very large datafiles. I notice in the process of parsing these files that it creates a dataset of "ALLDATA" which seems to just be some sort of appending of all the other tables/objects that isn't super useful to me. From the reading I've done my understanding is this is an artifact of how sas processes json files rather than how a json file is structured necessarily (but open to corrections there). Is there a way to have it skip doing this to help speed up the process? Code I'm using is very simple but see below.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=""&gt;filename dat ZIP '/data/file.json.gz' GZIP;

libname dat json;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;That code is not going to create any ALLDATA dataset, it is just defining the LIBREF that points to the JSON file.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;If you don't want to read DAT.ALLDATA then don't read it.&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But there is an option that should suppress it.&amp;nbsp; Try it and see if it works in your version.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/lestmtsglobal/n1jfdetszx99ban1rl4zll6tej7j.htm" target="_blank"&gt;https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/lestmtsglobal/n1jfdetszx99ban1rl4zll6tej7j.htm&lt;/A&gt;&lt;/P&gt;
&lt;H4 class="xisDoc-argument"&gt;NOALLDATA&lt;/H4&gt;
&lt;DIV class="xisDoc-argumentDescription"&gt;
&lt;P class="xisDoc-paraSimpleFirst"&gt;Suppresses creation of the ALLDATA data set.&lt;/P&gt;
&lt;SECTION class="xisDoc-tableWrap"&gt;
&lt;TABLE class="xisDoc-summary"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TH class="xisDoc-summaryNote"&gt;Note&lt;/TH&gt;
&lt;TD class="xisDoc-summaryText"&gt;This option is available beginning with SAS Viya 3.4.&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;/SECTION&gt;
&lt;/DIV&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Aug 2022 19:21:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Skip-the-Creation-of-ALLDATA-set-in-json-libname-engine/m-p/826981#M326656</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2022-08-03T19:21:34Z</dc:date>
    </item>
    <item>
      <title>Re: Skip the Creation of ALLDATA set in json libname engine</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Skip-the-Creation-of-ALLDATA-set-in-json-libname-engine/m-p/826984#M326658</link>
      <description>&lt;P&gt;When I navigate to the "dat" library I can see an ALLDATA file. It looks like I may have too old of a version of SAS to use that option with unfortunately, I'm just using SAS EG I'm not familiar with Viya.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Edit: It seems as though the NOALLDATA keyword might be working for me even though it wasn't showing up before... Testing it out now and will accept this if it works.&lt;/P&gt;</description>
      <pubDate>Wed, 03 Aug 2022 19:54:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Skip-the-Creation-of-ALLDATA-set-in-json-libname-engine/m-p/826984#M326658</guid>
      <dc:creator>A_SAS_Man</dc:creator>
      <dc:date>2022-08-03T19:54:25Z</dc:date>
    </item>
  </channel>
</rss>

