BookmarkSubscribeRSS Feed
koya
Fluorite | Level 6

I am trying to execute the below code and I get an error saying The connection has timed out.. Please advise! 

filename junk url 'http://support.sas.com' debug lrecl=8192;

data http;

infile junk length=len;

input record $varying8192. len;

run;

log:

ERROR: The connection has timed out..

NOTE: The SAS System stopped processing this step because of errors.

WARNING: The data set WORK.HTTP may be incomplete.  When this step was stopped there were 0 observations and 1 variables.

WARNING: Data set WORK.HTTP was not replaced because this step was stopped.

     

     

     

4 REPLIES 4
ballardw
Super User

Possibly HTTPS might help. As that is where your specified URL redirects to if entered directly into a browser...

koya
Fluorite | Level 6

I tried using HTTPS too, it doesn't work either. Same error: connection timed out.

koya
Fluorite | Level 6

Issue resolved. I tried running the program from PC sas instead of EG. Program completed successfully.

ahk1225
Calcite | Level 5

How did you reslove your issue? I have same problem.

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
  • 4 replies
  • 3858 views
  • 0 likes
  • 3 in conversation