dc_assignlib.sas
Go to the documentation of this file.
1 /**
2  @file
3  @brief Assigns library and opens pass through
4  @details There are two versions of this macro - a META and a VIYA version (in
5  different folders). The interfaces is the same. This version is VIYA.
6 
7  This macro will source library definitions from a secure location on the
8  filesystem.
9 
10  @version 3.4
11  @author 4GL Apps Ltd
12  @copyright 4GL Apps Ltd. This code may only be used within Data Controller
13  and may not be re-distributed or re-sold without the express permission of
14  4GL Apps Ltd.
15 **/
16 
17 %macro dc_assignlib(type,libref,passthru=);
18  %if %length(&passthru)>0 %then %do;
19  proc sql;
20  connect using &libref as &passthru;
21  %end;
22 %mend dc_assignlib;