%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;
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;
You already have code. What happened when you tried it, and how did the outcome not match your expectations? (Log!!)
@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.
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.
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!
Still thinking about your presentation idea? The submission deadline has been extended to Friday, Nov. 14, at 11:59 p.m. ET.
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.
Ready to level-up your skills? Choose your own adventure.