mirror of
https://github.com/sasjs/core.git
synced 2026-01-10 10:50:04 +00:00
fix: declaring msg variable prior to set statement in mp_copyfolder.sas
This commit is contained in:
4
all.sas
4
all.sas
@@ -2790,9 +2790,9 @@ run;
|
|||||||
|
|
||||||
/* create folders and copy content */
|
/* create folders and copy content */
|
||||||
data _null_;
|
data _null_;
|
||||||
set work.&tempds;
|
length msg $200;
|
||||||
length msg $256;
|
|
||||||
call missing(msg);
|
call missing(msg);
|
||||||
|
set work.&tempds;
|
||||||
if _n_ = 1 then dpos+sum(length(directory),2);
|
if _n_ = 1 then dpos+sum(length(directory),2);
|
||||||
filepath2="&target/"!!substr(filepath,dpos);
|
filepath2="&target/"!!substr(filepath,dpos);
|
||||||
if file_or_folder='folder' then call execute('%mf_mkdir('!!filepath2!!')');
|
if file_or_folder='folder' then call execute('%mf_mkdir('!!filepath2!!')');
|
||||||
|
|||||||
@@ -54,9 +54,9 @@
|
|||||||
|
|
||||||
/* create folders and copy content */
|
/* create folders and copy content */
|
||||||
data _null_;
|
data _null_;
|
||||||
set work.&tempds;
|
length msg $200;
|
||||||
length msg $256;
|
|
||||||
call missing(msg);
|
call missing(msg);
|
||||||
|
set work.&tempds;
|
||||||
if _n_ = 1 then dpos+sum(length(directory),2);
|
if _n_ = 1 then dpos+sum(length(directory),2);
|
||||||
filepath2="&target/"!!substr(filepath,dpos);
|
filepath2="&target/"!!substr(filepath,dpos);
|
||||||
if file_or_folder='folder' then call execute('%mf_mkdir('!!filepath2!!')');
|
if file_or_folder='folder' then call execute('%mf_mkdir('!!filepath2!!')');
|
||||||
|
|||||||
Reference in New Issue
Block a user