1
0
mirror of https://github.com/sasjs/core.git synced 2026-01-03 15:40:05 +00:00

fix: avoiding lua compilation issues by setting wide enough lrecl

This commit is contained in:
munja
2022-04-28 20:57:44 +01:00
parent 42f2767129
commit 3435509eec
3 changed files with 23 additions and 0 deletions

View File

@@ -389,6 +389,14 @@ data _null_;
put '-- JSON.LUA ENDS HERE ';
run;
/* ensure big enough lrecl to avoid lua compilation issues */
%local optval;
%let optval=%sysfunc(getoption(lrecl));
options lrecl=1024;
/* execute the lua code by using a .lua extension */
%inc "%sysfunc(pathname(work))/ml_json.lua" /source2;
options lrecl=&optval;
%mend ml_json;