BookmarkSubscribeRSS Feed
SAS_user
Calcite | Level 5
Hello,

My program use file, which is assigned as FTP (filename fntemp FTP 'test.txt' ... ; ).
After i process this file, I want to delete it.
When i use these statements:
%let rc = %sysfunc(fdelete(fntemp));

I get sysmsg.
%let msg = %sysfunc(sysmsg());
%put &msg;
ERROR: Requested function is not supported.

Is there any other ways supported by SAS, which i can use?

Thank you. Message was edited by: SAS user
3 REPLIES 3
darrylovia
Quartz | Level 8
Dear SASUser
more details please

are you using enterprise guide? or plain old SAS?

D
SAS_user
Calcite | Level 5
I do not know, how this info will be useful to you.

I think function fdelete works the same way in enterpriceGuide and SAS.
cause datastep functions are treated the same way in these products.

I'm using SAS 9.1.
sbb
Lapis Lazuli | Level 10 sbb
Lapis Lazuli | Level 10
Explore using the FILENAME PIPE access method - details are available in the SAS Companion documentation for the "target system" OS.

Scott Barry
SBBWorks, Inc.

Suggested Google advanced search argument, this topic/post (example for unix OS):
filename pipe access method unix companion site:sas.com

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