dirlist.sas
Go to the documentation of this file.
1 /**
2  @file
3  @brief Fetches directories to facilitate configuration
4  @details The service can also be invoked using the following URL param:
5 
6  @li &parent= (parent path)
7 
8  <h4> SAS Macros </h4>
9  @li mp_dirlist.sas
10 
11  @version 9.2
12  @author 4GL Apps Ltd
13  @copyright 4GL Apps Ltd. This code may only be used within Data Controller
14  and may not be re-distributed or re-sold without the express permission of
15  4GL Apps Ltd.
16 
17 **/
18 
19 %global parent;
20 /* if no flavour is specified, default to root */
21 %let parent=%sysfunc(coalescec(&parent,/));
22 
23 %mp_dirlist(path=&parent,outds=dirlist, maxdepth=2)
24 
25 %webout(OPEN)
26 %webout(OBJ,dirlist)
27 %webout(CLOSE)