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

fix: avoid: ERROR: Variable "fref" may not be initialized

This commit is contained in:
munja
2022-04-06 16:25:50 +01:00
parent 970b56fe5a
commit 558ebaf6f2
2 changed files with 2 additions and 0 deletions

View File

@@ -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;