31 lines
904 B
SAS
31 lines
904 B
SAS
/**
|
|
@file
|
|
@brief Loads a CAS table into memory
|
|
@details There are three versions of this macro, one per build
|
|
target. The interface is the same. This version is VIYA and
|
|
delegates to mv_castabload to ensure the named table is promoted
|
|
and available in memory before use.
|
|
|
|
@param [in] libds library.dataset of the CAS table to load
|
|
@param [in] mdebug= (0) Set to 1 to enable verbose logging
|
|
|
|
<h4> SAS Macros </h4>
|
|
@li mf_getengine.sas
|
|
@li mv_castabload.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.
|
|
**/
|
|
|
|
%macro dc_casload(libds, mdebug=0);
|
|
%if %mf_getengine(&libds)=CAS %then %do;
|
|
%mv_castabload(
|
|
lib=%scan(&libds,1,.),
|
|
table=%scan(&libds,2,.),
|
|
mdebug=&mdebug
|
|
)
|
|
%end;
|
|
%mend dc_casload;
|