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-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

Register now

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