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

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 3 replies
  • 1053 views
  • 0 likes
  • 3 in conversation