<?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 A question about reading url txt files by SAS in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/A-question-about-reading-url-txt-files-by-SAS/m-p/166051#M32001</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to understand this piece of code whose aim is to read in a url address and extract some data from it.&lt;/P&gt;&lt;P&gt;so, the code is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"&lt;/P&gt;&lt;P&gt;data SiteVisit;&lt;/P&gt;&lt;P&gt;filename foo url &amp;amp;SITE debug; &lt;/P&gt;&lt;P&gt;retain&amp;nbsp; line countA1 file_date form_type name cik ein fyr accession smbl lagline gvkey;&lt;/P&gt;&lt;P&gt;infile foo lrecl=256 pad expandtabs ; &lt;/P&gt;&lt;P&gt;input line $char256. ;&lt;/P&gt;&lt;P&gt;linecount=_n_;&lt;/P&gt;&lt;P&gt;If _n_ = 1 then do; &lt;/P&gt;&lt;P&gt;if line eq ' ' then return; &lt;/P&gt;&lt;P&gt;line1 = UPCASE(htmldecode(compress(line, ' '))); &lt;/P&gt;&lt;P&gt;"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what I cannot figure out exactlcy, is that what is exactly the &lt;STRONG&gt;input line $char256. &lt;/STRONG&gt;part. When I run the code on a sample url, I am getting some html signs for the variable line. However, what I am trying to do, is to read the exact words from this html. May be this is because I know noting about html. but, Can someone please explain the above code for me please? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;P.S: an example of the address that I am trying to read is this address:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="unlinked" title="http://www.sec.gov:80/Archives/"&gt;http://www.sec.gov:80/Archives/&lt;/A&gt;edgar/data/1050122/0000927356-01-000365.txt&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I run the code, I get 66 lines (i.e the last linecount is 66). why is this happening?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 03 Jul 2014 21:45:13 GMT</pubDate>
    <dc:creator>Shayan2012</dc:creator>
    <dc:date>2014-07-03T21:45:13Z</dc:date>
    <item>
      <title>A question about reading url txt files by SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/A-question-about-reading-url-txt-files-by-SAS/m-p/166051#M32001</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to understand this piece of code whose aim is to read in a url address and extract some data from it.&lt;/P&gt;&lt;P&gt;so, the code is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"&lt;/P&gt;&lt;P&gt;data SiteVisit;&lt;/P&gt;&lt;P&gt;filename foo url &amp;amp;SITE debug; &lt;/P&gt;&lt;P&gt;retain&amp;nbsp; line countA1 file_date form_type name cik ein fyr accession smbl lagline gvkey;&lt;/P&gt;&lt;P&gt;infile foo lrecl=256 pad expandtabs ; &lt;/P&gt;&lt;P&gt;input line $char256. ;&lt;/P&gt;&lt;P&gt;linecount=_n_;&lt;/P&gt;&lt;P&gt;If _n_ = 1 then do; &lt;/P&gt;&lt;P&gt;if line eq ' ' then return; &lt;/P&gt;&lt;P&gt;line1 = UPCASE(htmldecode(compress(line, ' '))); &lt;/P&gt;&lt;P&gt;"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what I cannot figure out exactlcy, is that what is exactly the &lt;STRONG&gt;input line $char256. &lt;/STRONG&gt;part. When I run the code on a sample url, I am getting some html signs for the variable line. However, what I am trying to do, is to read the exact words from this html. May be this is because I know noting about html. but, Can someone please explain the above code for me please? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;P.S: an example of the address that I am trying to read is this address:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="unlinked" title="http://www.sec.gov:80/Archives/"&gt;http://www.sec.gov:80/Archives/&lt;/A&gt;edgar/data/1050122/0000927356-01-000365.txt&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I run the code, I get 66 lines (i.e the last linecount is 66). why is this happening?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Jul 2014 21:45:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/A-question-about-reading-url-txt-files-by-SAS/m-p/166051#M32001</guid>
      <dc:creator>Shayan2012</dc:creator>
      <dc:date>2014-07-03T21:45:13Z</dc:date>
    </item>
    <item>
      <title>Re: A question about reading url txt files by SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/A-question-about-reading-url-txt-files-by-SAS/m-p/166052#M32002</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is plain text at that sample url so start more simply&lt;/P&gt;&lt;P&gt;data SiteVisit;&lt;/P&gt;&lt;P&gt;Filename foo url &amp;amp;SITE debug;&lt;/P&gt;&lt;P&gt;Length line 300;&lt;/P&gt;&lt;P&gt;infile foo lrecl= 1000;&lt;/P&gt;&lt;P&gt;Input;&lt;/P&gt;&lt;P&gt;Line = _infile_;&lt;/P&gt;&lt;P&gt;List;&lt;/P&gt;&lt;P&gt;If _n_ GT 100 then stop ;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;.that will show the text of the first 100 lines&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Jul 2014 22:04:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/A-question-about-reading-url-txt-files-by-SAS/m-p/166052#M32002</guid>
      <dc:creator>Peter_C</dc:creator>
      <dc:date>2014-07-03T22:04:57Z</dc:date>
    </item>
    <item>
      <title>Re: A question about reading url txt files by SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/A-question-about-reading-url-txt-files-by-SAS/m-p/166053#M32003</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The&lt;/P&gt;&lt;P&gt;input line $char256. ;&lt;/P&gt;&lt;P&gt;means read the first 256 characters as text (the $) into the variable line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Peters solution is probably much better though you may want length line $ 300; or increase 300 to a larger value if you aren't getting all of the matching start/end elements.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Jul 2014 22:29:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/A-question-about-reading-url-txt-files-by-SAS/m-p/166053#M32003</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2014-07-03T22:29:21Z</dc:date>
    </item>
    <item>
      <title>Re: A question about reading url txt files by SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/A-question-about-reading-url-txt-files-by-SAS/m-p/166054#M32004</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is the question?&amp;nbsp; The file seems perfectly readable, it does not truncate at 66 lines.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NOTE: 4820 records were read from the infile&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; '&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.sec.gov:80/Archives/edgar/data/1050122/0000927356-01-000365.txt"&gt;http://www.sec.gov:80/Archives/edgar/data/1050122/0000927356-01-000365.txt&lt;/A&gt;&lt;SPAN&gt;'.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; The minimum record length was 0.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; The maximum record length was 131.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can make your code to find the file simpler.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;STRONG style="color: navy; background: white; font-size: 10.0pt; font-family: 'Courier New';"&gt;data&lt;/STRONG&gt; &lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: blue; background: white;"&gt;_null_&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&amp;nbsp; &lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: blue; background: white;"&gt;infile&lt;/SPAN&gt; &lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: purple; background: white;"&gt;&lt;SPAN&gt;'&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.sec.gov:80/Archives/edgar/data/1050122/0000927356-01-000365.txt"&gt;http://www.sec.gov:80/Archives/edgar/data/1050122/0000927356-01-000365.txt&lt;/A&gt;&lt;SPAN&gt;'&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;&amp;nbsp;&amp;nbsp; url &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: blue; background: white;"&gt;expandtabs&lt;/SPAN&gt; &lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: blue; background: white;"&gt;truncover&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt; ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&amp;nbsp; &lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: blue; background: white;"&gt;input&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt; ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt; &lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: green; background: white;"&gt;* list;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: navy; background: white; font-size: 10.0pt; font-family: 'Courier New';"&gt;run&lt;/STRONG&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black; background: white;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Jul 2014 23:14:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/A-question-about-reading-url-txt-files-by-SAS/m-p/166054#M32004</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2014-07-03T23:14:21Z</dc:date>
    </item>
    <item>
      <title>Re: A question about reading url txt files by SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/A-question-about-reading-url-txt-files-by-SAS/m-p/166055#M32005</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The HTML does not know anything about records it is about tags.&lt;/P&gt;&lt;P&gt;Reading an URL with records will be successful when the HTML coding has be done with an code editor structure showing that lay-out. But there is no guarantee on that. Some&amp;nbsp; basics on HTML is necessary.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Jul 2014 11:28:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/A-question-about-reading-url-txt-files-by-SAS/m-p/166055#M32005</guid>
      <dc:creator>jakarman</dc:creator>
      <dc:date>2014-07-04T11:28:07Z</dc:date>
    </item>
    <item>
      <title>Re: A question about reading url txt files by SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/A-question-about-reading-url-txt-files-by-SAS/m-p/166056#M32006</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Since you try to read with the $256. format, every time you have a line in the input file with less that 256 characters, SAS skips to the next line, until there are enough characters on one line. Obviously you have "only" 66 lines in the input file with &amp;gt; 256 characters.&lt;/P&gt;&lt;P&gt;You will find a NOTE in the log about this like "SAS went to a new line ...."&lt;/P&gt;&lt;P&gt;You need Tom's truncover option to avoid this (default) behaviour, which is "missover".&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Jul 2014 12:47:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/A-question-about-reading-url-txt-files-by-SAS/m-p/166056#M32006</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2014-07-04T12:47:23Z</dc:date>
    </item>
    <item>
      <title>Re: A question about reading url txt files by SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/A-question-about-reading-url-txt-files-by-SAS/m-p/166057#M32007</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Default is FLOWOVER which will attempt to get the data from the next line.&lt;/P&gt;&lt;P&gt;MISSOVER is probably the problem as it says to NOT go to the next line and to set any field where there are not enough characters for the informat requested to MISSING.&amp;nbsp; So if you try to read 256 characters from a line that only has 80 characters you end up with a variable value that is blank.&lt;/P&gt;&lt;P&gt;TRUNCOVER will also not move to the next line, but unlike missover it will not throw away the partial information when the input line is shorter than the input statement requested.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Jul 2014 12:57:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/A-question-about-reading-url-txt-files-by-SAS/m-p/166057#M32007</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2014-07-04T12:57:58Z</dc:date>
    </item>
    <item>
      <title>Re: A question about reading url txt files by SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/A-question-about-reading-url-txt-files-by-SAS/m-p/166058#M32008</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys, nice to go into technical details if record processing with fixed lengths in a world of HTML not being aware of those kind of things. Thinking in variable lengths with tagsets is an other world....?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Jul 2014 14:27:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/A-question-about-reading-url-txt-files-by-SAS/m-p/166058#M32008</guid>
      <dc:creator>jakarman</dc:creator>
      <dc:date>2014-07-04T14:27:11Z</dc:date>
    </item>
    <item>
      <title>Re: A question about reading url txt files by SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/A-question-about-reading-url-txt-files-by-SAS/m-p/166059#M32009</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yeah, went wrong there. Basically SAS keeps skipping lines until it has enough characters to satisfy the $256. format. This means it a) reduces the number of lines and b) discards a lot of data when, say, 10 characters are needed to fill the 256, but the next line contains 50 characters (40 characters dropped).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Jul 2014 11:38:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/A-question-about-reading-url-txt-files-by-SAS/m-p/166059#M32009</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2014-07-07T11:38:45Z</dc:date>
    </item>
    <item>
      <title>Re: A question about reading url txt files by SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/A-question-about-reading-url-txt-files-by-SAS/m-p/166060#M32010</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jaap, his input file does not look like HTML. At least not the HTML I'm familiar with.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Jul 2014 11:39:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/A-question-about-reading-url-txt-files-by-SAS/m-p/166060#M32010</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2014-07-07T11:39:30Z</dc:date>
    </item>
    <item>
      <title>Re: A question about reading url txt files by SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/A-question-about-reading-url-txt-files-by-SAS/m-p/166061#M32011</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It looks like marked-up data from an online form which has been posted via a messaging system.&amp;nbsp; Try stripping out the message headers, the checksums etc. up to &amp;lt;SEC-DOCUMENT&amp;gt;.&amp;nbsp; Its not XML as the tags do not close.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Jul 2014 12:55:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/A-question-about-reading-url-txt-files-by-SAS/m-p/166061#M32011</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2014-07-07T12:55:14Z</dc:date>
    </item>
    <item>
      <title>Re: A question about reading url txt files by SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/A-question-about-reading-url-txt-files-by-SAS/m-p/166062#M32012</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Tom is right to indicate this as a text file.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I am happy to be back behind two 22 inch screens not a 7 inch single one.&lt;BR /&gt;The content of this special text-file looks to be sgml. &lt;A href="http://en.wikipedia.org/wiki/Standard_Generalized_Markup_Language" title="http://en.wikipedia.org/wiki/Standard_Generalized_Markup_Language"&gt;Standard Generalized Markup Language - Wikipedia, the free encyclopedia&lt;/A&gt; a predecessor of current types. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using the university edtion.....&lt;/P&gt;&lt;P&gt;- the 32767 has become standard instead of 255&lt;/P&gt;&lt;P&gt;- reading variable length added to Tom-s code. The automatic variable len is not stored&lt;/P&gt;&lt;P&gt;- using the shortcut ikke for storing the file as sasuser is incessible. In fact an error on that will block the session (pop-up error?) needing a restart.&amp;nbsp; &lt;/P&gt;&lt;P&gt;For other url code not being txt type the streaming record approach would be more applicable adding an line/tag parser.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="sasSource"&gt; 43&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; libname ikke "/folders/myshortcuts/ikke";&lt;/P&gt;&lt;P class="sasNote" id="sasLogNote1_1404741070302"&gt; NOTE: Libref IKKE was successfully assigned as follows: &lt;/P&gt;&lt;P class="sasNote"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Engine:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; V9 &lt;/P&gt;&lt;P class="sasNote"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Physical Name: /folders/myshortcuts/ikke&lt;/P&gt;&lt;P class="sasSource"&gt; 44&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P class="sasSource"&gt; 45&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; data ikke.edgar ;&lt;/P&gt;&lt;P class="sasSource"&gt; 46&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; length text $32767 ;&lt;/P&gt;&lt;P class="sasSource"&gt;&lt;SPAN&gt; 47&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; infile '&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.sec.gov:80/Archives/edgar/data/1050122/0000927356-01-000365.txt"&gt;http://www.sec.gov:80/Archives/edgar/data/1050122/0000927356-01-000365.txt&lt;/A&gt;&lt;SPAN&gt;'&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="sasSource"&gt; 48&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; url expandtabs truncover length=len ;&lt;/P&gt;&lt;P class="sasSource"&gt; 49&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; input text $varying32767. len ;&lt;/P&gt;&lt;P class="sasSource"&gt; 50&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; * list;&lt;/P&gt;&lt;P class="sasSource"&gt; 51&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; run;&lt;/P&gt;&lt;P class="sasNote" id="sasLogNote2_1404741070302"&gt;&lt;SPAN&gt; NOTE: The infile '&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.sec.gov:80/Archives/edgar/data/1050122/0000927356-01-000365.txt"&gt;http://www.sec.gov:80/Archives/edgar/data/1050122/0000927356-01-000365.txt&lt;/A&gt;&lt;SPAN&gt;' is:&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="sasNote"&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Filename=&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.sec.gov:80/Archives/edgar/data/1050122/0000927356-01-000365.txt"&gt;http://www.sec.gov:80/Archives/edgar/data/1050122/0000927356-01-000365.txt&lt;/A&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="sasNote"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Local Host Name=localhost.localdomain,&lt;/P&gt;&lt;P class="sasNote"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Local Host IP addr=::1,&lt;/P&gt;&lt;P class="sasNote"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Service Hostname Name=www.sec.gov,&lt;/P&gt;&lt;P class="sasNote"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Service IP addr=2.19.221.59,Service Name=N/A,&lt;/P&gt;&lt;P class="sasNote"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Service Portno=80,Lrecl=32767,Recfm=Variable&lt;/P&gt;&lt;P class="sasNote" id="sasLogNote3_1404741070302"&gt;&lt;SPAN&gt; NOTE: 4820 records were read from the infile '&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.sec.gov:80/Archives/edgar/data/1050122/0000927356-01-000365.txt"&gt;http://www.sec.gov:80/Archives/edgar/data/1050122/0000927356-01-000365.txt&lt;/A&gt;&lt;SPAN&gt;'.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="sasNote"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; The minimum record length was 0.&lt;/P&gt;&lt;P class="sasNote"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; The maximum record length was 131.&lt;/P&gt;&lt;P class="sasNote" id="sasLogNote4_1404741070302"&gt; NOTE: The data set IKKE.EDGAR has 4820 observations and 1 variables.&lt;/P&gt;&lt;P class="sasNote" id="sasLogNote5_1404741070302"&gt; NOTE: DATA statement used (Total process time):&lt;/P&gt;&lt;P class="sasNote"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; real time&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4.01 seconds&lt;/P&gt;&lt;P class="sasNote"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; cpu time&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3.83 seconds&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Jul 2014 13:59:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/A-question-about-reading-url-txt-files-by-SAS/m-p/166062#M32012</guid>
      <dc:creator>jakarman</dc:creator>
      <dc:date>2014-07-07T13:59:33Z</dc:date>
    </item>
  </channel>
</rss>

