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

fix: updating the tests following varinitchk=error enablement. Removing the word 'error' from documenttion.

This commit is contained in:
munja
2021-12-13 01:07:54 +00:00
parent 42bd1750bd
commit 0885bad859
18 changed files with 36 additions and 21 deletions

View File

@@ -55,6 +55,8 @@
/* create folders and copy content */
data _null_;
set work.&tempds;
length msg $256;
call missing(msg);
if _n_ = 1 then dpos+sum(length(directory),2);
filepath2="&target/"!!substr(filepath,dpos);
if file_or_folder='folder' then call execute('%mf_mkdir('!!filepath2!!')');
@@ -63,9 +65,9 @@
rc1=filename(fref1,filepath,'disk','recfm=n');
rc2=filename(fref2,filepath2,'disk','recfm=n');
if fcopy(fref1,fref2) ne 0 then do;
sysmsg=sysmsg();
msg=sysmsg();
putlog "%str(ERR)OR: Unable to copy " filepath " to " filepath2;
putlog sysmg=;
putlog msg=;
end;
end;
rc=filename(fref1);