BookmarkSubscribeRSS Feed
ankitsri
Calcite | Level 5
options set=SAS_FTP_AUTHTLS="1";
options set=SSL_USE_SNI=0;
options set=SSLREQCERT=ALLOW;

filename ABC ftp "&fname" host='sroc' PASSIVE user=&mfusr pass=&mfpass debug
                     rcmd='site unit=sysda recfm=fb lrecl=90' recfm=fb lrecl=90;
   run;

Hello SAS Community Members, Can anyone please help me with below error 

 

ERROR: Open failed for file ABC
ERROR: Host name sroc not found.

1 REPLY 1
Kurt_Bremser
Super User

Your DNS could not resolve the hostname. Check under which name the server is accessible from your SAS machine; it might be that you need to use the fully qualified domain name, or that access is blocked by firewalls.

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