Hello, How can I force SAS to throw a message , a note or anything to make me careful in case I use, by mistake, a variable in hash find method, variable which does not exist in data step. Consider the following example (only to better explain my question): data want; set sashelp.class; if _n_=1 then do; declare hash pr(dataset:"sashelp.class"); pr.definekey('age'); pr.definedata('name'); pr.definedone(); end; rc=pr.find(key:agee); if rc eq 0 then x=1; run; SAS does not throw any note, message in the log. It only creates the numeric variable agee which is missing and as a consequence nothing is find in hash. Is there a simple way , maybe an option or something similar, to identify such typing mistakes ? 10x
... View more