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

fix: ensuring mp_hashdirectory will output an empty dataset when the target directory does not exist. Updated tests and documentation also

This commit is contained in:
Allan Bowe
2022-10-27 20:38:41 +00:00
parent 5b251006cd
commit ef574f6319
5 changed files with 141 additions and 11 deletions

View File

@@ -101,8 +101,7 @@ data &out_ds(compress=no
if did=0 then do;
putlog "NOTE: This directory is empty, or does not exist - &path";
msg=sysmsg();
put msg;
put _all_;
put (_all_)(=);
stop;
end;
/* attribute is OS-dependent - could be "Directory" or "Directory Name" */