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 For Dummies 3rd Edition! Check out the new edition, covering SAS 9.4, SAS Viya, and all of the modern ways to use SAS!

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

Register Now

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 1 reply
  • 1362 views
  • 0 likes
  • 2 in conversation