Checks whether a dataset OR a view exists. More...
Go to the source code of this file.
Can be used in open code, eg as follows:
%if %mf_existds(libds=work.someview) %then %put yes it does!;
NOTE - some databases have case sensitive tables, for instance POSTGRES with the preserve_tab_names=yes libname setting. This may impact expected results (depending on whether you 'expect' the result to be case insensitive in this context!)
libds | library.dataset |
Definition in file mf_existds.sas.