a post to report unexpected behavior of the http proc :
For a week, I try to download PDF files via PROC HTTP (SAS9.4M4) with login, password authentication.
Each request gives me this message :
NOTE: PROCEDURE HTTP used (Total process time):
real time 0.24 seconds
cpu time 0.14 seconds
NOTE: 500 Internal Server Error
After analyzed the security internet options settings on my Windows server, contacted the provider of the Web Service, I finally found the solution:
The undocumented option of the HTTP PROC -> JAVA_HTTP :
proc http java_http webusername="" webpassword="" method="GET" url="&url./¶m." out=out;run;
This behavior can be controlled with the environment variable SAS_JAVA_HTTP.
If you have details on the action of this option, I am interested.
As far as I know, changes are being made to the documentation about this option.
I am not aware of any fixed timeframe on when it will be available.
To get further information, probably the best way to go is connecting with TS.
The problem you saw is based on the fact that HTTP in SAS 9.3 was based on Java, and now, with SAS 9.4, it
is in C.
View solution in original post
The SAS Users Group for Administrators (SUGA) is open to all SAS administrators and architects who install, update, manage or maintain a SAS deployment.
Learn how to install the SAS Viya CLI and a few commands you may find useful in this video by SAS’ Darrell Barton.
Find more tutorials on the SAS Users YouTube channel.