<?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: import dataset in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/import-dataset/m-p/529541#M144705</link>
    <description>&lt;P&gt;When I download the zip file, that's been separated I get a clean well formatted CSV file, though it maybe in a different encoding.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data demo;
infile "..\BasicCompanyData-2019-01-01-part1_6\BasicCompanyData-2019-01-01-part1_6.csv" lrecl=32000 obs=100;
file 'c:\_localdata\demo.csv';
input ;
put _infile_;
run;

&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;This creates another text file with the first 100 rows for testing, because the file is too big to open manually.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The first 100 records are attached.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is this from a specific&amp;nbsp;file in the link?&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;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/194466"&gt;@France&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;Dear Reeza,&lt;BR /&gt;&lt;BR /&gt;thanks for your message,&lt;BR /&gt;&lt;BR /&gt;sorry, I do not understand the meaning of XML and JSON. besides, the dataset is download by following the website (&lt;A href="http://download.companieshouse.gov.uk/en_output.html" target="_blank" rel="noopener"&gt;http://download.companieshouse.gov.uk/en_output.html&lt;/A&gt;)&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 23 Jan 2019 20:52:08 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2019-01-23T20:52:08Z</dc:date>
    <item>
      <title>import dataset</title>
      <link>https://communities.sas.com/t5/SAS-Programming/import-dataset/m-p/529391#M144635</link>
      <description>&lt;P&gt;dear all,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;could you please give me some suggestion to import the below text file into sas. the sample of it has been added in the attachment.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;three of the information is below,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;{"company_number":"09145694","data":{"address":{"address_line_1":"St. Andrews Road","country":"England","locality":"Henley-On-Thames","postal_code":"RG9 1HP","premises":"2"},"ceased_on":"2018-05-14","country_of_residence":"England","date_of_birth":{"month":2,"year":1977},"etag":"3b8caf795c03af63921e381f7bb8300a51ebb73d","kind":"individual-person-with-significant-control","links":{"self":"/company/09145694/persons-with-significant-control/individual/bIhuKnMFctSnjrDjUG8n3NgOrlU"},"name":"Mrs Nga Thanh Wildman","name_elements":{"forename":"Nga","middle_name":"Thanh","surname":"Wildman","title":"Mrs"},"nationality":"Vietnamese","natures_of_control":["ownership-of-shares-50-to-75-percent"],"notified_on":"2016-04-06"}}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;{"company_number":"08581893","data":{"address":{"address_line_1":"High Street","address_line_2":"Wendover","country":"England","locality":"Aylesbury","postal_code":"HP22 6EA","premises":"14a","region":"Buckinghamshire"},"ceased_on":"2016-07-01","country_of_residence":"England","date_of_birth":{"month":9,"year":1947},"etag":"45f9c9e5494b574eb52abc3990a49bd96fe09df3","kind":"individual-person-with-significant-control","links":{"self":"/company/08581893/persons-with-significant-control/individual/RgR9Zhc7yGhV0SBys8_WJ6H9O1o"},"name":"Mr Stephen Robert Charles Davies","name_elements":{"forename":"Stephen","middle_name":"Robert Charles","surname":"Davies","title":"Mr"},"nationality":"British","natures_of_control":["ownership-of-shares-25-to-50-percent","ownership-of-shares-25-to-50-percent-as-firm"],"notified_on":"2016-06-30"}}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;{"company_number":"08581893","data":{"address":{"address_line_1":"High Street","address_line_2":"Wendover","country":"England","locality":"Aylesbury","postal_code":"HP22 6EA","premises":"14a","region":"Buckinghamshire"},"ceased_on":"2016-07-01","country_of_residence":"England","date_of_birth":{"month":6,"year":1965},"etag":"d55168c49f85ab1ef38a12ed76238d68f79f5a01","kind":"individual-person-with-significant-control","links":{"self":"/company/08581893/persons-with-significant-control/individual/-6HQmkhiomEBXJI2rgHccU67fpM"},"name":"Mr Quentin Colin Maxwell Solt","name_elements":{"forename":"Quentin","middle_name":"Colin Maxwell","surname":"Solt","title":"Mr"},"nationality":"British","natures_of_control":["ownership-of-shares-25-to-50-percent","voting-rights-25-to-50-percent"],"notified_on":"2016-06-30"}}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks in advance&lt;/P&gt;</description>
      <pubDate>Wed, 23 Jan 2019 14:53:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/import-dataset/m-p/529391#M144635</guid>
      <dc:creator>France</dc:creator>
      <dc:date>2019-01-23T14:53:25Z</dc:date>
    </item>
    <item>
      <title>Re: import dataset</title>
      <link>https://communities.sas.com/t5/SAS-Programming/import-dataset/m-p/529420#M144648</link>
      <description>Is it identified as XML or JSON originally?</description>
      <pubDate>Wed, 23 Jan 2019 15:43:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/import-dataset/m-p/529420#M144648</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2019-01-23T15:43:33Z</dc:date>
    </item>
    <item>
      <title>Re: import dataset</title>
      <link>https://communities.sas.com/t5/SAS-Programming/import-dataset/m-p/529526#M144698</link>
      <description>Dear Reeza,&lt;BR /&gt;&lt;BR /&gt;thanks for your message,&lt;BR /&gt;&lt;BR /&gt;sorry, I do not understand the meaning of XML and JSON. besides, the dataset is download by following the website (&lt;A href="http://download.companieshouse.gov.uk/en_output.html" target="_blank"&gt;http://download.companieshouse.gov.uk/en_output.html&lt;/A&gt;)</description>
      <pubDate>Wed, 23 Jan 2019 20:33:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/import-dataset/m-p/529526#M144698</guid>
      <dc:creator>France</dc:creator>
      <dc:date>2019-01-23T20:33:55Z</dc:date>
    </item>
    <item>
      <title>Re: import dataset</title>
      <link>https://communities.sas.com/t5/SAS-Programming/import-dataset/m-p/529541#M144705</link>
      <description>&lt;P&gt;When I download the zip file, that's been separated I get a clean well formatted CSV file, though it maybe in a different encoding.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data demo;
infile "..\BasicCompanyData-2019-01-01-part1_6\BasicCompanyData-2019-01-01-part1_6.csv" lrecl=32000 obs=100;
file 'c:\_localdata\demo.csv';
input ;
put _infile_;
run;

&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;This creates another text file with the first 100 rows for testing, because the file is too big to open manually.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The first 100 records are attached.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is this from a specific&amp;nbsp;file in the link?&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;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/194466"&gt;@France&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;Dear Reeza,&lt;BR /&gt;&lt;BR /&gt;thanks for your message,&lt;BR /&gt;&lt;BR /&gt;sorry, I do not understand the meaning of XML and JSON. besides, the dataset is download by following the website (&lt;A href="http://download.companieshouse.gov.uk/en_output.html" target="_blank" rel="noopener"&gt;http://download.companieshouse.gov.uk/en_output.html&lt;/A&gt;)&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Jan 2019 20:52:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/import-dataset/m-p/529541#M144705</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2019-01-23T20:52:08Z</dc:date>
    </item>
    <item>
      <title>Re: import dataset</title>
      <link>https://communities.sas.com/t5/SAS-Programming/import-dataset/m-p/529594#M144721</link>
      <description>Dear Reeza,&lt;BR /&gt;&lt;BR /&gt;apology for my mistake. the dataset is downloaded from the below website.&lt;BR /&gt;&lt;A href="http://download.companieshouse.gov.uk/en_pscdata.html" target="_blank"&gt;http://download.companieshouse.gov.uk/en_pscdata.html&lt;/A&gt;</description>
      <pubDate>Thu, 24 Jan 2019 01:05:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/import-dataset/m-p/529594#M144721</guid>
      <dc:creator>France</dc:creator>
      <dc:date>2019-01-24T01:05:51Z</dc:date>
    </item>
    <item>
      <title>Re: import dataset</title>
      <link>https://communities.sas.com/t5/SAS-Programming/import-dataset/m-p/529596#M144722</link>
      <description>It’s a JSON file so try the JSON libname. &lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://blogs.sas.com/content/sasdummy/2016/12/02/json-libname-engine-sas/" target="_blank"&gt;https://blogs.sas.com/content/sasdummy/2016/12/02/json-libname-engine-sas/&lt;/A&gt;</description>
      <pubDate>Thu, 24 Jan 2019 01:37:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/import-dataset/m-p/529596#M144722</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2019-01-24T01:37:45Z</dc:date>
    </item>
    <item>
      <title>Re: import dataset</title>
      <link>https://communities.sas.com/t5/SAS-Programming/import-dataset/m-p/529946#M144880</link>
      <description>&lt;P&gt;dear Reeza,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your kind advice.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But I do not understand the meaning of it. Could you please explain it for me by using the following example.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;"company_number":"09145694",&lt;/P&gt;&lt;P&gt;"data":&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;"address":&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;"address_line_1":"St. Andrews Road",&lt;/P&gt;&lt;P&gt;"country":"England"&lt;/P&gt;&lt;P&gt;,"locality":"Henley-On-Thames",&lt;/P&gt;&lt;P&gt;"postal_code":"RG9 1HP",&lt;/P&gt;&lt;P&gt;"premises":"2"&lt;/P&gt;&lt;P&gt;},&lt;/P&gt;&lt;P&gt;"ceased_on":"2018-05-14",&lt;/P&gt;&lt;P&gt;"country_of_residence":"England",&lt;/P&gt;&lt;P&gt;"date_of_birth":&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;"month":2,&lt;/P&gt;&lt;P&gt;"year":1977&lt;/P&gt;&lt;P&gt;},&lt;/P&gt;&lt;P&gt;"etag":"3b8caf795c03af63921e381f7bb8300a51ebb73d",&lt;/P&gt;&lt;P&gt;"kind":"individual-person-with-significant-control",&lt;/P&gt;&lt;P&gt;"links":&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;"self":"/company/09145694/persons-with-significant-control/individual/bIhuKnMFctSnjrDjUG8n3NgOrlU"&lt;/P&gt;&lt;P&gt;},&lt;/P&gt;&lt;P&gt;"name":"Mrs Nga Thanh Wildman",&lt;/P&gt;&lt;P&gt;"name_elements":&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;"forename":"Nga",&lt;/P&gt;&lt;P&gt;"middle_name":"Thanh",&lt;/P&gt;&lt;P&gt;"surname":"Wildman",&lt;/P&gt;&lt;P&gt;"title":"Mrs"&lt;/P&gt;&lt;P&gt;},&lt;/P&gt;&lt;P&gt;"nationality":"Vietnamese",&lt;/P&gt;&lt;P&gt;"natures_of_control":&lt;/P&gt;&lt;P&gt;["ownership-of-shares-50-to-75-percent"],&lt;/P&gt;&lt;P&gt;"notified_on":"2016-04-06"&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;this is a group of record in my dataset. could you please give me some suggestion about this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 25 Jan 2019 01:56:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/import-dataset/m-p/529946#M144880</guid>
      <dc:creator>France</dc:creator>
      <dc:date>2019-01-25T01:56:46Z</dc:date>
    </item>
    <item>
      <title>Re: import dataset</title>
      <link>https://communities.sas.com/t5/SAS-Programming/import-dataset/m-p/529952#M144882</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13879"&gt;@Reeza&lt;/a&gt;&amp;nbsp;pointed you to the answer.&lt;/P&gt;
&lt;P&gt;Time for you to:&lt;/P&gt;
&lt;P&gt;1. Read about JSON files.&lt;/P&gt;
&lt;P&gt;2. Read the link provided.&lt;/P&gt;
&lt;P&gt;One line in that page is&amp;nbsp;&lt;/P&gt;
&lt;PRE class="sas"&gt;&lt;SPAN&gt;libname&lt;/SPAN&gt; space JSON &lt;SPAN&gt;fileref&lt;/SPAN&gt;=resp;&lt;/PRE&gt;
&lt;P&gt;Start from there.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 25 Jan 2019 02:24:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/import-dataset/m-p/529952#M144882</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2019-01-25T02:24:13Z</dc:date>
    </item>
    <item>
      <title>Re: import dataset</title>
      <link>https://communities.sas.com/t5/SAS-Programming/import-dataset/m-p/529953#M144883</link>
      <description>&lt;P&gt;JSON is a pain and the files there are too big for the JSON libname in my example. Because of that you have to manually parse the file. It's not easy, I agree, and it is a significant amount of work to test and get it right. When I did this for a different open data set, I think it ended up taking two days to get it fully working, testing and automated. Unfortunately I don't have that amount of time to spend on this. I'm not saying it's going to take that long &amp;nbsp;- I was trying the JSON libname here, in R and python - and was trying to use a more 'modern' method. In the end, I gave up and used SCAN() , FIND() and INDEX() to get the data I needed.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You do have a learning curve here for sure. Sorry I can't help further. Good Luck.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/194466"&gt;@France&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;dear Reeza,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for your kind advice.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But I do not understand the meaning of it. Could you please explain it for me by using the following example.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;{&lt;/P&gt;
&lt;P&gt;"company_number":"09145694",&lt;/P&gt;
&lt;P&gt;"data":&lt;/P&gt;
&lt;P&gt;{&lt;/P&gt;
&lt;P&gt;"address":&lt;/P&gt;
&lt;P&gt;{&lt;/P&gt;
&lt;P&gt;"address_line_1":"St. Andrews Road",&lt;/P&gt;
&lt;P&gt;"country":"England"&lt;/P&gt;
&lt;P&gt;,"locality":"Henley-On-Thames",&lt;/P&gt;
&lt;P&gt;"postal_code":"RG9 1HP",&lt;/P&gt;
&lt;P&gt;"premises":"2"&lt;/P&gt;
&lt;P&gt;},&lt;/P&gt;
&lt;P&gt;"ceased_on":"2018-05-14",&lt;/P&gt;
&lt;P&gt;"country_of_residence":"England",&lt;/P&gt;
&lt;P&gt;"date_of_birth":&lt;/P&gt;
&lt;P&gt;{&lt;/P&gt;
&lt;P&gt;"month":2,&lt;/P&gt;
&lt;P&gt;"year":1977&lt;/P&gt;
&lt;P&gt;},&lt;/P&gt;
&lt;P&gt;"etag":"3b8caf795c03af63921e381f7bb8300a51ebb73d",&lt;/P&gt;
&lt;P&gt;"kind":"individual-person-with-significant-control",&lt;/P&gt;
&lt;P&gt;"links":&lt;/P&gt;
&lt;P&gt;{&lt;/P&gt;
&lt;P&gt;"self":"/company/09145694/persons-with-significant-control/individual/bIhuKnMFctSnjrDjUG8n3NgOrlU"&lt;/P&gt;
&lt;P&gt;},&lt;/P&gt;
&lt;P&gt;"name":"Mrs Nga Thanh Wildman",&lt;/P&gt;
&lt;P&gt;"name_elements":&lt;/P&gt;
&lt;P&gt;{&lt;/P&gt;
&lt;P&gt;"forename":"Nga",&lt;/P&gt;
&lt;P&gt;"middle_name":"Thanh",&lt;/P&gt;
&lt;P&gt;"surname":"Wildman",&lt;/P&gt;
&lt;P&gt;"title":"Mrs"&lt;/P&gt;
&lt;P&gt;},&lt;/P&gt;
&lt;P&gt;"nationality":"Vietnamese",&lt;/P&gt;
&lt;P&gt;"natures_of_control":&lt;/P&gt;
&lt;P&gt;["ownership-of-shares-50-to-75-percent"],&lt;/P&gt;
&lt;P&gt;"notified_on":"2016-04-06"&lt;/P&gt;
&lt;P&gt;}&lt;/P&gt;
&lt;P&gt;}&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;this is a group of record in my dataset. could you please give me some suggestion about this?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Background on JSON: &lt;A href="https://www.w3schools.com/js/js_json_intro.asp" target="_blank"&gt;https://www.w3schools.com/js/js_json_intro.asp&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 25 Jan 2019 02:24:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/import-dataset/m-p/529953#M144883</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2019-01-25T02:24:40Z</dc:date>
    </item>
    <item>
      <title>Re: import dataset</title>
      <link>https://communities.sas.com/t5/SAS-Programming/import-dataset/m-p/529955#M144884</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13879"&gt;@Reeza&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Interesting. I did't know the libname engine had size limitations.&lt;/P&gt;
&lt;P&gt;Do you know if &lt;A href="https://documentation.sas.com/?docsetId=ds2ref&amp;amp;docsetTarget=n02kfrlpntte7qn1fpoe7krc5pdu.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en" target="_self"&gt;PROC DS2's JSON package&lt;/A&gt; has similar constraints?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 25 Jan 2019 02:35:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/import-dataset/m-p/529955#M144884</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2019-01-25T02:35:17Z</dc:date>
    </item>
    <item>
      <title>Re: import dataset</title>
      <link>https://communities.sas.com/t5/SAS-Programming/import-dataset/m-p/529958#M144885</link>
      <description>&lt;P&gt;After further checking that doesn't seem to be the issue. It seems to be a non standard JSON file. R only read the first two rows for some reason and that's the same place SAS is complaining about. I'm guessing a different EOL or encoding, since it's European data?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/16961"&gt;@ChrisNZ&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13879"&gt;@Reeza&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Interesting. I did't know the libname engine had size limitations.&lt;/P&gt;
&lt;P&gt;Do you know if &lt;A href="https://documentation.sas.com/?docsetId=ds2ref&amp;amp;docsetTarget=n02kfrlpntte7qn1fpoe7krc5pdu.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en" target="_self"&gt;PROC DS2's JSON package&lt;/A&gt; has similar constraints?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 25 Jan 2019 02:50:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/import-dataset/m-p/529958#M144885</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2019-01-25T02:50:46Z</dc:date>
    </item>
    <item>
      <title>Re: import dataset</title>
      <link>https://communities.sas.com/t5/SAS-Programming/import-dataset/m-p/529960#M144886</link>
      <description>&lt;P&gt;After checking, each record is an independent JSON structure that looks like the below, with a LF to delimit the record.&lt;/P&gt;
&lt;P&gt;So manual parsing seems like the way to go.&lt;/P&gt;
&lt;PRE&gt;{"company_number":"03100413"&lt;BR /&gt;,"data":{"etag":"e0c7cf72c430d379d849c89225a4d6bad8face98"&lt;BR /&gt;        ,"kind":"persons-with-significant-control-statement"&lt;BR /&gt;        ,"links":{"self":"/company/03100413/persons-with-significant-control-statements/E9L3Ktzi07T3zgnWCSSuZ5-OjJE"}&lt;BR /&gt;        ,"notified_on":"2016-08-16"&lt;BR /&gt;        ,"statement":"no-individual-or-entity-with-signficant-control"}&lt;BR /&gt;}
{"company_number":"SC287552"&lt;BR /&gt;,"data":{"ceased_on":"2017-10-13"&lt;BR /&gt;        ,"etag":"5aba35df221cc2bfc1e5fa3f571390522098d755"&lt;BR /&gt;        ,"kind":"persons-with-significant-control-statement"&lt;BR /&gt;        ,"links":{"self":"/company/SC287552/persons-with-significant-control-statements/VxNqbL-lSWIGfhgeaHSy2qYV1hw"}&lt;BR /&gt;        ,"notified_on":"2016-07-15"&lt;BR /&gt;        ,"statement":"psc-details-not-confirmed"}&lt;BR /&gt;}&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 25 Jan 2019 03:20:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/import-dataset/m-p/529960#M144886</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2019-01-25T03:20:33Z</dc:date>
    </item>
    <item>
      <title>Re: import dataset</title>
      <link>https://communities.sas.com/t5/SAS-Programming/import-dataset/m-p/529962#M144887</link>
      <description>&lt;P&gt;Agreed. Seems like it's designed to be used via an API and someone is just appending results in every day for each company. Interesting method.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/194466"&gt;@France&lt;/a&gt;&amp;nbsp;this should get you started. It'll get you each line into a separate observation and you can work on separating it out using SCAN().&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Note the OBS option at the moment which is limiting the number of records. You'll want to remove that, but for testing, it should get you started.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;filename psc '/folders/myfolders/psc-snapshot-2019-01-24_1of13.json' termstr=LF;

data psc1;
length myVar $30000. companyName $100.;
infile psc lrecl=30000 obs=1000;
input;

myVar = _infile_;

companyName = dequote(scan(myVar, 2, ":,"));


run;&lt;/PRE&gt;</description>
      <pubDate>Fri, 25 Jan 2019 03:36:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/import-dataset/m-p/529962#M144887</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2019-01-25T03:36:12Z</dc:date>
    </item>
  </channel>
</rss>

