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!
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.