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

fix: applying logic to BETWEEN as well as IN

This commit is contained in:
Allan Bowe
2022-07-07 23:24:24 +00:00
parent 6e32eb3bd6
commit 336743f2b4
2 changed files with 22 additions and 22 deletions

View File

@@ -5973,6 +5973,7 @@ data &outds;
output;
end;
else raw_value1=substr(raw_value,2,max(length(raw_value)-2,0));
end;
/* we now have a comma seperated list of values */
if vtype='N' then do i=1 to countc(raw_value1, ',')+1;
tmp=scan(raw_value1,i,',');
@@ -5986,7 +5987,6 @@ data &outds;
return;
end;
end;
end;
else raw_value1=raw_value;
/* remove nested literals eg '' */

View File

@@ -182,6 +182,7 @@ data &outds;
output;
end;
else raw_value1=substr(raw_value,2,max(length(raw_value)-2,0));
end;
/* we now have a comma seperated list of values */
if vtype='N' then do i=1 to countc(raw_value1, ',')+1;
tmp=scan(raw_value1,i,',');
@@ -195,7 +196,6 @@ data &outds;
return;
end;
end;
end;
else raw_value1=raw_value;
/* remove nested literals eg '' */