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

Hi all

 

The following lines are causing the linked errors:

 

MPRINT(EXTRACT): filename src temp;
MPRINT(EXTRACT): proc http url="http://news.dc-sug.org" out=src;
MPRINT(EXTRACT): run;

ERROR: Host name resolution failed

 

MPRINT(EXTRACT): filename src temp;
MPRINT(EXTRACT): proc http url="http://cities4pointzero.com/webinar/webinar_page/3336" out=src;
MPRINT(EXTRACT): run;

NOTE: 302 Moved Temporarily
ERROR: Generic HTTP Client Error

 

Any idea about what is causing them and how to avoid it ?

 

Bests

D

1 ACCEPTED SOLUTION

Accepted Solutions
Sajid01
Meteorite | Level 14

1.Error 1

MPRINT(EXTRACT): proc http url="http://news.dc-sug.org" out=src;
MPRINT(EXTRACT): run;

ERROR: Host name resolution failed.
Basically this means that this address could not be found.( When I clicked the above link the side did not open).

2.Error 2

MPRINT(EXTRACT): proc http url="http://cities4pointzero.com/webinar/webinar_page/3336" out=src;
MPRINT(EXTRACT): run;

NOTE: 302 Moved Temporarily

This means that the site has been moved to a different location. If you click the link, you may be redirected to that location.

View solution in original post

2 REPLIES 2
Sajid01
Meteorite | Level 14

1.Error 1

MPRINT(EXTRACT): proc http url="http://news.dc-sug.org" out=src;
MPRINT(EXTRACT): run;

ERROR: Host name resolution failed.
Basically this means that this address could not be found.( When I clicked the above link the side did not open).

2.Error 2

MPRINT(EXTRACT): proc http url="http://cities4pointzero.com/webinar/webinar_page/3336" out=src;
MPRINT(EXTRACT): run;

NOTE: 302 Moved Temporarily

This means that the site has been moved to a different location. If you click the link, you may be redirected to that location.

dcortell
Pyrite | Level 9
Mmm…ok, I was taking the redirect url as the initial one, and didn’t notice
it was a different one.

Thanks for clarifying

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

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
  • 2 replies
  • 1723 views
  • 0 likes
  • 2 in conversation