Help using Base SAS procedures

Proc http in version 9.1?

Accepted Solution Solved
Reply
Regular Contributor
Posts: 160
Accepted Solution

Proc http in version 9.1?

Hi all,

I need to reads input entire from  fileref(issue HTTP request) and then writes output to a fileref, and I've found that proc http is the ideal tool for this goal, but , unfortunately, looks like this proc available only from SAS 9.2. But I still have small expectation that there are some "overroad" that allow make same operation in sas 9.1, so will be very grateful for any ideas.

Thanks!


Accepted Solutions
Solution
‎10-31-2011 11:56 AM
Regular Contributor
Posts: 160

Proc http in version 9.1?

Hi again,

This solution works correct)))

Thanks!

View solution in original post


All Replies
PROC Star
Posts: 7,363

Proc http in version 9.1?

I think the answer will depend upon exactly what you are trying to obtain.  The url engine was available in 9.1 so you could always use something like to, say, create a text file of a web page:

filename fileIwant url http://thefullwebaddress lrecl=9999;

data want;

  infile fileIwant;

  file "c:\mydirectory\outfileIwant.html";

  input;

put _infile_;

run;

Solution
‎10-31-2011 11:56 AM
Regular Contributor
Posts: 160

Proc http in version 9.1?

Hi again,

This solution works correct)))

Thanks!

☑ This topic is SOLVED.

Need further help from the community? Please ask a new question.

Discussion stats
  • 2 replies
  • 205 views
  • 0 likes
  • 2 in conversation