1
0
mirror of https://github.com/sasjs/core.git synced 2026-01-07 09:30:06 +00:00

chore: running all.sas and updating docs

This commit is contained in:
Allan Bowe
2022-05-17 08:55:02 +00:00
parent 906f9a139d
commit 6669e74baa
2 changed files with 12 additions and 8 deletions

14
all.sas
View File

@@ -3875,8 +3875,11 @@ drop table &ddlds,&cntlds;
%mp_copyfolder(&rootdir,&copydir) %mp_copyfolder(&rootdir,&copydir)
@param source Unquoted path to the folder to copy from. @param [in] source Unquoted path to the folder to copy from.
@param target Unquoted path to the folder to copy to. @param [out] target Unquoted path to the folder to copy to.
@param [in] copymax=(MAX) Set to a positive integer to indicate the level of
subdirectory copy recursion - eg 3, to go `./3/levels/deep`. For unlimited
recursion, set to MAX.
<h4> SAS Macros </h4> <h4> SAS Macros </h4>
@li mf_getuniquename.sas @li mf_getuniquename.sas
@@ -3890,7 +3893,7 @@ drop table &ddlds,&cntlds;
**/ **/
%macro mp_copyfolder(source,target); %macro mp_copyfolder(source,target,copymax=MAX);
%mp_abort(iftrue=(%mf_isdir(&source)=0) %mp_abort(iftrue=(%mf_isdir(&source)=0)
,mac=&sysmacroname ,mac=&sysmacroname
@@ -3909,7 +3912,7 @@ drop table &ddlds,&cntlds;
%let tempds=%mf_getuniquename(); %let tempds=%mf_getuniquename();
/* recursive directory listing */ /* recursive directory listing */
%mp_dirlist(path=&source,outds=work.&tempds, maxdepth=MAX) %mp_dirlist(path=&source,outds=work.&tempds,maxdepth=&copymax)
/* create folders and copy content */ /* create folders and copy content */
data _null_; data _null_;
@@ -3937,7 +3940,8 @@ drop table &ddlds,&cntlds;
proc sql; proc sql;
drop table work.&tempds; drop table work.&tempds;
%mend mp_copyfolder;/** %mend mp_copyfolder;
/**
@file @file
@brief Create the permanent Core tables @brief Create the permanent Core tables
@details Several macros in the [core](https://github.com/sasjs/core) library @details Several macros in the [core](https://github.com/sasjs/core) library

View File

@@ -16,8 +16,8 @@
%mp_copyfolder(&rootdir,&copydir) %mp_copyfolder(&rootdir,&copydir)
@param source Unquoted path to the folder to copy from. @param [in] source Unquoted path to the folder to copy from.
@param target Unquoted path to the folder to copy to. @param [out] target Unquoted path to the folder to copy to.
@param [in] copymax=(MAX) Set to a positive integer to indicate the level of @param [in] copymax=(MAX) Set to a positive integer to indicate the level of
subdirectory copy recursion - eg 3, to go `./3/levels/deep`. For unlimited subdirectory copy recursion - eg 3, to go `./3/levels/deep`. For unlimited
recursion, set to MAX. recursion, set to MAX.