Hi Team,
Can you please tell me how to delete the XPT files form library.
Thanks,
Bhanuprakash Pala
@bhanuprakash - I suggest you check out the FDELETE function.
@bhanuprakash - I suggest you check out the FDELETE function.
Thanks for the suggestion.
Is there any way that we can delete all XPT files at a time.
@bhanuprakash - Yes, you can assign a FILENAME using *.xpt then FDELETE will delete all XPT files in the selected folder.
x "del ""%sysfunc(pathname(MyLib))\*.xpt"" /Q /F";
- Cheers -
April 27 – 30 | Gaylord Texan | Grapevine, Texas
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!
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.
Ready to level-up your skills? Choose your own adventure.