BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
Gaetan
Obsidian | Level 7

Hi,

 

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./&param."
               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.

 

Regards,

Gaetan

 

1 ACCEPTED SOLUTION

Accepted Solutions
anja
SAS Employee

Hi,

 

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.

 

 

Thanks

Anja

 

View solution in original post

1 REPLY 1
anja
SAS Employee

Hi,

 

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.

 

 

Thanks

Anja

 

suga badge.PNGThe SAS Users Group for Administrators (SUGA) is open to all SAS administrators and architects who install, update, manage or maintain a SAS deployment. 

Join SUGA 

CLI in SAS Viya

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.

Discussion stats
  • 1 reply
  • 1909 views
  • 3 likes
  • 2 in conversation