mirror of
https://github.com/sasjs/core.git
synced 2026-01-08 10:00:04 +00:00
Merge pull request #209 from sasjs/missref
fix: avoid: ERROR: Variable "fref" may not be initialized
This commit is contained in:
1
all.sas
1
all.sas
@@ -4308,6 +4308,7 @@ run;
|
||||
data &out_ds;
|
||||
set &out_ds;
|
||||
length infoname infoval $60 fref $8;
|
||||
if _n_=1 then call missing(fref);
|
||||
rc=filename(fref,filepath);
|
||||
drop rc infoname fid i close fref;
|
||||
if file_or_folder='file' then do;
|
||||
|
||||
@@ -152,6 +152,7 @@ run;
|
||||
data &out_ds;
|
||||
set &out_ds;
|
||||
length infoname infoval $60 fref $8;
|
||||
if _n_=1 then call missing(fref);
|
||||
rc=filename(fref,filepath);
|
||||
drop rc infoname fid i close fref;
|
||||
if file_or_folder='file' then do;
|
||||
|
||||
Reference in New Issue
Block a user