<?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 PROC HTTP error in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/PROC-HTTP-error/m-p/14998#M2560</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Muali,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you got it to run with your original code would you mind posting the code that you finally used?&amp;nbsp; I'm wondering as I haven't been able to get proc http to do it yet (other than using FriedEgg's suggested code).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Art&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 23 Sep 2011 17:49:24 GMT</pubDate>
    <dc:creator>art297</dc:creator>
    <dc:date>2011-09-23T17:49:24Z</dc:date>
    <item>
      <title>PROC HTTP error</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/PROC-HTTP-error/m-p/14989#M2551</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to query textual comments data from the youtube api using proc http with the below code. However, i am getting a http error in the log and my request is not getting processed. I have referenced for related documentation why it is failing but other than the description of the error at &lt;A href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html"&gt;http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html&lt;/A&gt;, i couldn't figure out the issue.&amp;nbsp; I have tried using my youtube login credentials in the webusername and webpassword parameters but it didnt work. Appreciate your help !&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: white; font-family: 'Courier New'; color: black;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: white; font-family: 'Courier New'; color: black;"&gt;ERROR: java.io.IOException: Server returned HTTP response code: 415 for URL: &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: white; font-family: 'Courier New'; color: black;"&gt;&lt;A href="http://gdata.youtube.com/feeds/api/videos/pzI4D6dyp_o/comments?v=2&amp;amp;max-results=50&amp;amp;start-index=1"&gt;http://gdata.youtube.com/feeds/api/videos/pzI4D6dyp_o/comments?v=2&amp;amp;max-results=50&amp;amp;start-index=1&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below is the code i used, this is similar to the code that is available at &lt;A href="http://sww.sas.com/toolpool/pool/Twitter_Web_Application/index.html"&gt;http://sww.sas.com/toolpool/pool/Twitter_Web_Application/index.html&lt;/A&gt; which was used for retrieving twitter data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;GOPTIONS ACCESSIBLE; &lt;/P&gt;&lt;P&gt;/* this is where we will store the HTML output */&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;filename odsout "C:\Inetpub\wwwroot\youtube"; &lt;/P&gt;&lt;P&gt;ods listing close; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/*The code to connect to twitter using SAS looks like this: */&lt;/P&gt;&lt;P&gt;filename REQUEST "C:\temp\blank.txt"; /*make sure to create this blank txt file before running the code*/&lt;BR /&gt;filename SchOut "c:\temp\Video_Meta.xml";&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/* url is the location we pass to proc http */&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;%let url = "&lt;A href="http://gdata.youtube.com/feeds/api/videos/pzI4D6dyp_o/comments?v=2&amp;amp;max-results=50&amp;amp;start-index=1"&gt;http://gdata.youtube.com/feeds/api/videos/pzI4D6dyp_o/comments?v=2&amp;amp;max-results=50&amp;amp;start-index=1&lt;/A&gt;";&lt;BR /&gt;%put &amp;amp;url;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/*connect to youtube */&lt;/P&gt;&lt;P&gt;proc http &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; in=REQUEST &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; out=SchOut &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; url=&amp;amp;url &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; method="get" &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; proxyhost="inetgw.unx.sas.com" &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; proxyport=80 &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; webusername='' /* not required here */&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; webpassword='' /* not required here */&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ; &lt;BR /&gt;run;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Murali&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Sep 2011 21:29:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/PROC-HTTP-error/m-p/14989#M2551</guid>
      <dc:creator>Murali</dc:creator>
      <dc:date>2011-09-22T21:29:02Z</dc:date>
    </item>
    <item>
      <title>PROC HTTP error</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/PROC-HTTP-error/m-p/14990#M2552</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you actually have access to the proxyhost you are attempting to connect through?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If all you are trying to go is download an xml form you could (if you are using unix) just use wget.&amp;nbsp; I assume windows has a similar tool but it does not come to mind at the moment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;x wget &amp;amp;url &amp;gt; /temp/schout.xml;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EDIT: you can get wget for windows here: &lt;A href="http://gnuwin32.sourceforge.net/packages/wget.htm"&gt;http://gnuwin32.sourceforge.net/packages/wget.htm&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Sep 2011 22:51:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/PROC-HTTP-error/m-p/14990#M2552</guid>
      <dc:creator>FriedEgg</dc:creator>
      <dc:date>2011-09-22T22:51:39Z</dc:date>
    </item>
    <item>
      <title>PROC HTTP error</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/PROC-HTTP-error/m-p/14991#M2553</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your help ! I believe I have the access required, because when i try the same proxy server and port for twitter api, I can get it work. I have some third party free softwares currently which I am able to use to directly download the data from twitter in .csv or xml formats. However, I would like to be able to use SAS instead to showcase the capabilities even for data extraction through the standard api interfaces.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Sep 2011 13:39:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/PROC-HTTP-error/m-p/14991#M2553</guid>
      <dc:creator>Murali</dc:creator>
      <dc:date>2011-09-23T13:39:17Z</dc:date>
    </item>
    <item>
      <title>PROC HTTP error</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/PROC-HTTP-error/m-p/14992#M2554</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;On my Unix box I have to explicitely add the port number to the URL to read it from SAS code.&amp;nbsp; Try adding :80 after the hostname.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://gdata.youtube.com/feeds/api/videos/pzI4D6dyp_o/comments?v=2&amp;amp;max-results=50&amp;amp;start-index=1"&gt;http://gdata.youtube.com:80/feeds/api/videos/pzI4D6dyp_o/comments?v=2&amp;amp;max-results=50&amp;amp;start-index=1&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Sep 2011 14:49:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/PROC-HTTP-error/m-p/14992#M2554</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2011-09-23T14:49:35Z</dc:date>
    </item>
    <item>
      <title>PROC HTTP error</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/PROC-HTTP-error/m-p/14993#M2555</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; I tried it, didn't work &lt;img id="smileysad" class="emoticon emoticon-smileysad" src="https://communities.sas.com/i/smilies/16x16_smiley-sad.png" alt="Smiley Sad" title="Smiley Sad" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Sep 2011 15:00:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/PROC-HTTP-error/m-p/14993#M2555</guid>
      <dc:creator>Murali</dc:creator>
      <dc:date>2011-09-23T15:00:48Z</dc:date>
    </item>
    <item>
      <title>Re: PROC HTTP error</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/PROC-HTTP-error/m-p/14994#M2556</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I still am shakey as to why you are connecting through the proxy host?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why not just use the filename statement for url access?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;filename yt url '&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://gdata.youtube.com/feeds/api/videos/pzI4D6dyp_o/comments?v=2&amp;amp;max-results=50&amp;amp;start-index=1';"&gt;http://gdata.youtube.com/feeds/api/videos/pzI4D6dyp_o/comments?v=2&amp;amp;max-results=50&amp;amp;start-index=1';&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data _null_;&lt;/P&gt;&lt;P&gt; infile yt length=len;&lt;/P&gt;&lt;P&gt; input record $varying32000. len;&lt;/P&gt;&lt;P&gt; put record $varying32000. len;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;libname ytube xml xmlfileref=yt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data ytube;&lt;/P&gt;&lt;P&gt; set ytube.entry;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Sep 2011 15:21:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/PROC-HTTP-error/m-p/14994#M2556</guid>
      <dc:creator>FriedEgg</dc:creator>
      <dc:date>2011-09-23T15:21:43Z</dc:date>
    </item>
    <item>
      <title>PROC HTTP error</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/PROC-HTTP-error/m-p/14995#M2557</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for the help ! I ran this and it works perfectly fine excepting some missing details like author id of the comment posted. A colleague of mine also helped me solve the issue with proc http by just removing the proxy host and port details from the code. Thanks a lot again &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://communities.sas.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Sep 2011 16:45:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/PROC-HTTP-error/m-p/14995#M2557</guid>
      <dc:creator>Murali</dc:creator>
      <dc:date>2011-09-23T16:45:22Z</dc:date>
    </item>
    <item>
      <title>PROC HTTP error</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/PROC-HTTP-error/m-p/14996#M2558</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, it seemed like the likely cause of the issues with proc http was the proxy options you were using.&amp;nbsp; The variables will be better defined not using the defualt xmlmapper file and instead definind your own the fits the data apporiately.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/engxml/62845/HTML/default/viewer.htm#a002484837.htm"&gt;http://support.sas.com/documentation/cdl/en/engxml/62845/HTML/default/viewer.htm#a002484837.htm&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Sep 2011 17:17:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/PROC-HTTP-error/m-p/14996#M2558</guid>
      <dc:creator>FriedEgg</dc:creator>
      <dc:date>2011-09-23T17:17:09Z</dc:date>
    </item>
    <item>
      <title>PROC HTTP error</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/PROC-HTTP-error/m-p/14997#M2559</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, I am using xmlmapper for this. Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Sep 2011 17:22:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/PROC-HTTP-error/m-p/14997#M2559</guid>
      <dc:creator>Murali</dc:creator>
      <dc:date>2011-09-23T17:22:09Z</dc:date>
    </item>
    <item>
      <title>PROC HTTP error</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/PROC-HTTP-error/m-p/14998#M2560</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Muali,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you got it to run with your original code would you mind posting the code that you finally used?&amp;nbsp; I'm wondering as I haven't been able to get proc http to do it yet (other than using FriedEgg's suggested code).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Art&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Sep 2011 17:49:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/PROC-HTTP-error/m-p/14998#M2560</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2011-09-23T17:49:24Z</dc:date>
    </item>
    <item>
      <title>PROC HTTP error</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/PROC-HTTP-error/m-p/14999#M2561</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Art,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: white; font-family: 'Courier New'; color: blue; font-size: 10pt;"&gt;%let&lt;/SPAN&gt;&lt;SPAN style="background-color: white; font-family: 'Courier New'; color: black; font-size: 10pt;"&gt; url = "&lt;A href="http://gdata.youtube.com/feeds/api/videos/pzI4D6dyp_o/comments?v=2%25nrstr(&amp;amp;max)-results=50%25nrstr(&amp;amp;start)-index=1"&gt;&lt;SPAN style="color: black;"&gt;http://gdata.youtube.com/feeds/api/videos/pzI4D6dyp_o/comments?&lt;SPAN style="color: black;"&gt;v=2%nrstr(&amp;amp;max)-results=50%nrstr(&amp;amp;start)-index=1&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/A&gt;";&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: white; font-family: 'Courier New'; color: black; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: white; font-family: 'Courier New'; color: blue; font-size: 10pt;"&gt;%put&lt;/SPAN&gt;&lt;SPAN style="background-color: white; font-family: 'Courier New'; color: black; font-size: 10pt;"&gt; &amp;amp;url;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: white; font-family: 'Courier New'; color: black; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: white; font-family: 'Courier New'; color: blue; font-size: 10pt;"&gt;filename&lt;/SPAN&gt;&lt;SPAN style="background-color: white; font-family: 'Courier New'; color: black; font-size: 10pt;"&gt; test &lt;/SPAN&gt;&lt;SPAN style="background-color: white; font-family: 'Courier New'; color: purple; font-size: 10pt;"&gt;"&amp;lt; --path-- &amp;gt;.xml"&lt;/SPAN&gt;&lt;SPAN style="background-color: white; font-family: 'Courier New'; color: black; font-size: 10pt;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: white; font-family: 'Courier New'; color: black; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: navy; font-size: 10pt; background-color: white; font-family: 'Courier New';"&gt;proc&lt;/STRONG&gt; &lt;STRONG style="color: navy; font-size: 10pt; background-color: white; font-family: 'Courier New';"&gt;http&lt;/STRONG&gt;&lt;SPAN style="background-color: white; font-family: 'Courier New'; color: black; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: white; font-family: 'Courier New'; color: green; font-size: 10pt;"&gt;/*&amp;nbsp; in=REQUEST */&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: white; font-family: 'Courier New'; color: black; font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; out=test&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: white; font-family: 'Courier New'; color: black; font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; url=&amp;amp;url &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: white; font-family: 'Courier New'; color: black; font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; method=&lt;/SPAN&gt;&lt;SPAN style="background-color: white; font-family: 'Courier New'; color: purple; font-size: 10pt;"&gt;"get"&lt;/SPAN&gt;&lt;SPAN style="background-color: white; font-family: 'Courier New'; color: black; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: white; font-family: 'Courier New'; color: green; font-size: 10pt;"&gt;/*&amp;nbsp;&amp;nbsp;&amp;nbsp; proxyhost="inetgw.unx.sas.com" */&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: white; font-family: 'Courier New'; color: green; font-size: 10pt;"&gt;/*&amp;nbsp;&amp;nbsp;&amp;nbsp; proxyport=80 */&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: white; font-family: 'Courier New'; color: green; font-size: 10pt;"&gt;/*&amp;nbsp;&amp;nbsp;&amp;nbsp; webusername=''*/&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: white; font-family: 'Courier New'; color: green; font-size: 10pt;"&gt;/*&amp;nbsp;&amp;nbsp;&amp;nbsp; webpassword=''*/&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: white; font-family: 'Courier New'; color: black; font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: navy; font-size: 10pt; background-color: white; font-family: 'Courier New';"&gt;run&lt;/STRONG&gt;&lt;SPAN style="background-color: white; font-family: 'Courier New'; color: black; font-size: 10pt;"&gt;;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: white; font-family: 'Courier New'; color: black; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: white; font-family: 'Courier New'; color: black; font-size: 10pt;"&gt;I am yet to do the mapper, will post the rest of the code when i'm done with that.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: white; font-family: 'Courier New'; color: black; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: white; font-family: 'Courier New'; color: black; font-size: 10pt;"&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: white; font-family: 'Courier New'; color: black; font-size: 10pt;"&gt;Murali&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Sep 2011 18:28:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/PROC-HTTP-error/m-p/14999#M2561</guid>
      <dc:creator>Murali</dc:creator>
      <dc:date>2011-09-23T18:28:27Z</dc:date>
    </item>
    <item>
      <title>PROC HTTP error</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/PROC-HTTP-error/m-p/15000#M2562</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Much appreciated!&amp;nbsp; That worked for me as well!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Sep 2011 18:33:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/PROC-HTTP-error/m-p/15000#M2562</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2011-09-23T18:33:15Z</dc:date>
    </item>
    <item>
      <title>Re: PROC HTTP error</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/PROC-HTTP-error/m-p/15001#M2563</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;filename in temp;&lt;/P&gt;&lt;P&gt;filename out temp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data &lt;SPAN style="text-decoration: underline;"&gt;null&lt;/SPAN&gt;;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; file in;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; input;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; put &lt;SPAN style="text-decoration: underline;"&gt;infile&lt;/SPAN&gt;;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; datalines;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13px; color: black;"&gt;pzI4D6dyp_o/comments?&lt;SPAN style="font-size: 13px; color: black;"&gt;v=2%nrstr(&amp;amp;max)-results=50%nrstr(&amp;amp;start)-index=1&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12px;"&gt;proc http in=in out=out url='&lt;/SPAN&gt;&lt;SPAN style="font-size: 13px; color: black;"&gt;&lt;A class="jive-link-external-small" href="http://gdata.youtube.com/feeds/api/videos"&gt;http://gdata.youtube.com/feeds/api/videos&lt;/A&gt;'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; method='get'&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;libname ytube xml xmlfileref=out;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data ytube;&lt;/P&gt;&lt;P&gt;set ytube.entry;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Sep 2011 19:54:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/PROC-HTTP-error/m-p/15001#M2563</guid>
      <dc:creator>FriedEgg</dc:creator>
      <dc:date>2011-09-23T19:54:42Z</dc:date>
    </item>
    <item>
      <title>Re: PROC HTTP error</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/PROC-HTTP-error/m-p/15002#M2564</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need help with the similar situation. Thanks to you all for your postings. It was very informative.&lt;/P&gt;&lt;P&gt;I was wondering on how to handle the proc http, if my URL is a variable in a data set called HTTP. I have used the url access method, but I was getting an error saying invalid server response. I need to run all the url links one by one and get the values stored on the server (some name), and send those values to the name variable back to my work data set. I was thinking to export the file to the temp folder on unix, and then use the&lt;/P&gt;&lt;P&gt;filename in temp;&lt;/P&gt;&lt;P&gt;filename out temp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please advise.&lt;/P&gt;&lt;P&gt;I have used your method here:&lt;/P&gt;&lt;P&gt;My environment is UNIX:&lt;/P&gt;&lt;P&gt;proc sql noprint;&lt;/P&gt;&lt;P&gt;select count(*) into :httpcnt&lt;/P&gt;&lt;P&gt;from work.URL_Test where substr(http,1,5)='http:';&lt;/P&gt;&lt;P&gt;quit;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;%put &amp;amp;httpcnt;&lt;/P&gt;&lt;P&gt;data _null_;&lt;/P&gt;&lt;P&gt;&amp;nbsp; set Test;&lt;/P&gt;&lt;P&gt;call symput("cpe",trim(variable));&lt;/P&gt;&lt;P&gt;call symput("date_time",trim(variable));&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;%let url = "&lt;/SPAN&gt;&lt;A class="jive-link-external-small"&gt;http://host:80abcdetcetc%nrstr(&amp;amp;cpe)%nrstr(%&amp;amp;)incidentDate=%nrstr(&amp;amp;date_time&lt;/A&gt;&lt;SPAN&gt;)";&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;filename http_get "/test/test/http.csv";&lt;/P&gt;&lt;P&gt;%macro get_http;&lt;/P&gt;&lt;P&gt;/*%do i=1 %to &amp;amp;httpcnt;*/&lt;/P&gt;&lt;P&gt;proc http&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; out=http_get&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; url=&amp;amp;url&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; method="get" ;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;/*%end;*/&lt;/P&gt;&lt;P&gt;%mend;&lt;/P&gt;&lt;P&gt;%get_http;&lt;/P&gt;&lt;P&gt;Btw, This method worked for me when I took just a single link from the variable to test its out. It worked great, and created forllowing valuesin the out=http_get.csv file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know if its possible to get only "name I am looking for"? are there any options to remove the tags?? I need to run all the links, and include the results to my data set (in name variable). Thanks a lot in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*****http_get.csv file.&lt;/P&gt;&lt;P&gt;&amp;lt;html&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;head&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;title&amp;gt;adcdef&amp;lt;/title&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/head&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;body&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;h1&amp;gt;name I am looking for&amp;lt;/h1&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/body&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/html&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 07 Apr 2012 22:11:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/PROC-HTTP-error/m-p/15002#M2564</guid>
      <dc:creator>jeeth79usa</dc:creator>
      <dc:date>2012-04-07T22:11:07Z</dc:date>
    </item>
  </channel>
</rss>

