BookmarkSubscribeRSS Feed
mjtznz
Calcite | Level 5

I need to be able to access a JSON data feed over the internet from within a corporate network. If I use filename url with the proxy options then I am able to connect to external websites through our corporate proxy, however I cannot find any documentation online that shows PROC DS2 HTTP has any such proxy server/port options, meaning it is unable to access anything via a proxy.

 

Am I missing something in the document, is there a workaround available or are there any undocumented options for specifying a proxy?

 

@SASJedi - @ChrisHemedinger mentioned I should tag you in this post.

 

Thanks in advance for the assistance.

1 REPLY 1
ChrisHemedinger
Community Manager

Actually, I think I can answer this.  I'm pretty sure the answer is No, unfortunately.  

 

PROC HTTP and FILENAME URL have syntax to accept proxy options, but the http() package in DS2 does not.  By rights, it probably should, but it doesn't right now.


So the question becomes: can you use PROC HTTP to create a data stream that can then be fed into DS2 (probably as a data set, since DS2 can't read from external files directly).

SAS Hackathon registration is open! Build your skills. Make connections. Enjoy creative freedom. Maybe change the world.

Ready to join fellow brilliant minds for the SAS Hackathon?

Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.

Register today!
How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

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
  • 1 reply
  • 1083 views
  • 0 likes
  • 2 in conversation