dc_refreshcatalog.sas
Go to the documentation of this file.
1 /**
2  @file dc_refreshcatalog.sas
3  @brief Refresh catalog
4  @details There are two versions of this macro - a META and a VIYA version (in
5  different folders). The interfaces are the same. This version is VIYA.
6 
7  The MPELIB should be pre-assigned
8 
9  <h4> SAS Macros </h4>
10  @li mpe_refreshlibs.sas
11  @li dc_assignlib.sas
12  @li mpe_refreshtables.sas
13 
14 
15  @version 3.4
16  @author 4GL Apps Ltd
17  @copyright 4GL Apps Ltd. This code may only be used within Data Controller
18  and may not be re-distributed or re-sold without the express permission of
19  4GL Apps Ltd.
20 **/
21 
22 %macro dc_refreshcatalog();
23 
24 %mpe_refreshlibs()
25 
26 filename executor catalog 'work.code.code.source';
27 data libraries;
28  set &mpelib..mpe_datacatalog_libs;
29  where &dc_dttmtfmt. le TX_TO;
30  file executor;
31  str=cats('%mpe_refreshtables(',libref,')');
32  put str;
33  putlog str;
34 run;
35 %inc executor;
36 
37 %mend dc_refreshcatalog;