I tried already with:
proc catalog catalog=work.formats;
delete "$RFICDTC";
quit;
or
proc format library=work.formats;
delete $RFICDTC;
quit;
Neither.
The approach with catalog entries is NAME.TYPE. The type of object is important because you could have a program, listing or other objects with the same name. With Formats you have FORMAT and FORMATC for character formats.
You can use
proc catalog catalog=work.formats; contents ; run; quit;
To get the names and type of objects in the catalog. Your example would want:
proc format library=work.formats; delete RFICDTC.FORMATC; quit;
Neither.
The approach with catalog entries is NAME.TYPE. The type of object is important because you could have a program, listing or other objects with the same name. With Formats you have FORMAT and FORMATC for character formats.
You can use
proc catalog catalog=work.formats; contents ; run; quit;
To get the names and type of objects in the catalog. Your example would want:
proc format library=work.formats; delete RFICDTC.FORMATC; quit;
I used this option and it worked.
proc catalog catalog=work.formats;
delete armnrs / et=formatc;
run;
But also yours seems to use the same apporach. thanks anyway!
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 save with the early bird rate—just $795!
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.