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:
2
all.sas
2
all.sas
@@ -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 '' */
|
||||
|
||||
@@ -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 '' */
|
||||
|
||||
Reference in New Issue
Block a user