Exports everything in a particular metadata folder. More...
Will export everything in a metadata folder to a specified location. Note - the batch tools require a username and password. For security, these are expected to have been provided in a protected directory.
%* import the macros (or make them available some other way); filename mc url "https://raw.githubusercontent.com/sasjs/core/main/all.sas"; %inc mc; %* create sample text file as input to the macro; filename tmp temp; data _null_; file tmp; put '%let mmxuser=sasdemo;'; put '%let mmxpass=Mars321'; run; filename outref "%sysfunc(pathname(work))"; %mmx_spkexport(metaloc=%str(/30.Projects/3001.Internal/300115.DataController/dc1) ,secureref=tmp ,outspkpath=%str(/tmp) )
|metaloc=||the metadata folder to export|
|secureref=||fileref containing the username / password (should point to a file in a secure location)|
|outspkname=||name of the spk to be created (default is mmxport).|
|outspkpath=||directory in which to create the SPK. Default is WORK.|
Definition in file mmx_spkexport.sas.