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!

Catch up on SAS Innovate 2026

Nearly 200 sessions are now available on demand with the SAS Innovate Digital Pass.

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