BookmarkSubscribeRSS Feed
anitapamu2
Calcite | Level 5

%let url= " " ;
filename in "C:\Users\anita.pamu\Desktop\In.txt";
filename out "C:\Users\anita.pamu\Desktop\Out.txt" recfm=v lrecl=32000;
proc http in=in out=out url="&url" method="post" ct="application/x-www-form-urlencoded" ;
run;

5 REPLIES 5
anitapamu2
Calcite | Level 5

How to call Web service  (Url) form SAS ? I am using 9.2 Windows Base SAS.

 

ERROR: Cannot load SSL support.

Here is an example of code that can trigger the error.


filename myref url "https://www.google.com";
data _null_;
infile myref;
run;
Kurt_Bremser
Super User

@anitapamu2 wrote:

How to call Web service  (Url) form SAS ? I am using 9.2 Windows Base SAS.

 

ERROR: Cannot load SSL support.


Googling for that error message got me this SAS Note as the second result:

http://support.sas.com/kb/57/595.html

You may not have the proper module installed.

ChrisHemedinger
Community Manager

Use PROC HTTP instead.  I have many examples:

 

   http://blogs.sas.com/content/sasdummy/tag/proc-http/

 

But you will need the SSL components in order to access any HTTPS sites.

It's time to register for SAS Innovate! Join your SAS user peers in Las Vegas on April 16-19 2024.

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

What is Bayesian Analysis?

Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 5 replies
  • 1424 views
  • 0 likes
  • 3 in conversation