/** @file @brief Testing mpe_refreshcatalogs macro

SAS Macros

@li mpe_refreshcatalogs.sas @li mp_assert.sas @li mp_assertscope.sas @li mp_ds2md.sas @author 4GL Apps Ltd @copyright 4GL Apps Ltd. This code may only be used within Data Controller and may not be re-distributed or re-sold without the express permission of 4GL Apps Ltd. **/ %mp_assertscope(SNAPSHOT) %mpe_refreshcatalogs(FMTONLY) %mp_assertscope(COMPARE, desc=Checking macro variables against previous snapshot ) /* make sure that the process picks up the catalog */ proc sql noprint; create table work.test1 as select * from &mpelib..mpe_datacatalog_cats(where=(&dc_dttmtfmt. lt tx_to)) where libref="FMTONLY"; %let test1=0; select count(*) into: test1 from work.test1; %mp_assert( iftrue=(&test1>0), desc=Checking fmtonly.dcfmts was picked up ) %mp_ds2md(work.test1)