1
0
mirror of https://github.com/sasjs/core.git synced 2025-12-10 14:04:36 +00:00

fix: avoiding uninitialised variables in mv_getjobcode and mv_getfoldermembers

This commit is contained in:
munja
2021-12-14 08:20:32 +00:00
parent 2536e299ad
commit a45d280a51
3 changed files with 8 additions and 0 deletions

View File

@@ -17471,6 +17471,8 @@ options noquotelenmax;
%local href cnt;
%let cnt=0;
data _null_;
length rel href $512;
call missing(rel,href);
set &libref1..links;
if rel='members' then do;
url=cats("'","&base_uri",href,"?limit=10000'");
@@ -17790,6 +17792,8 @@ data;run;
%local joburi;
%let joburi=0;
data _null_;
length name uri $512;
call missing(name,uri);
set &foldermembers;
if name="&name" and uri=:'/jobDefinitions/definitions'
then call symputx('joburi',uri);

View File

@@ -100,6 +100,8 @@ options noquotelenmax;
%local href cnt;
%let cnt=0;
data _null_;
length rel href $512;
call missing(rel,href);
set &libref1..links;
if rel='members' then do;
url=cats("'","&base_uri",href,"?limit=10000'");

View File

@@ -92,6 +92,8 @@ data;run;
%local joburi;
%let joburi=0;
data _null_;
length name uri $512;
call missing(name,uri);
set &foldermembers;
if name="&name" and uri=:'/jobDefinitions/definitions'
then call symputx('joburi',uri);