04-27-2015 12:43 PM
Proc SQL expects a format name in the syntax, you could use a generic one like BEST. for numeric values. In order to remove a format from a variable, you can use Proc DATASETS.
proc datasets lib=work nolist;
04-27-2015 01:33 PM
No, one of the limitations of way that PROC SQL supports formats.
Now you could trick SAS into thinking you have created a NEW variable so not have the format (or the label for that matter) carried forward.
select x, y+0 as y ....
02-12-2016 11:18 AM
Will the trick you suggest work for character variables? I have all sorts of airport codes, e.g. KBOS maps to 'Logan International ...', but
sometimes I just want KBOS, so that I can save that in a macro variable that I later use as an argument to a macro.