BookmarkSubscribeRSS Feed
vxhong17
Calcite | Level 5

Hi All,

Could you let me know how to delete a folder in a folder using SAS? Thank you so much!!

3 REPLIES 3
BrunoMueller
SAS Super FREQ

Please note, that the DELETE function as outline above, can only be used within a SCL (SAS Component Language) program.

To delete files or directories from within the DATA Step or a Macro program you need to use the FDELETE function.

Bruno

vxhong17
Calcite | Level 5

Hi Reeza and Bruno,

Thank you so much for your suggestion!

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
  • 1254 views
  • 6 likes
  • 3 in conversation