Searches all data in a library. More...
Go to the source code of this file.
Scans an entire library and creates a copy of any table containing a specific string or numeric value. Only matching records are written out. If both a string and numval are provided, the string will take precedence.
Usage:
%mp_searchdata(lib=sashelp, string=Jan) %mp_searchdata(lib=sashelp, numval=1)
Outputs zero or more tables to an MPSEARCH library with specific records.
Definition in file mp_searchdata.sas.