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

fix: deal with dashes in sysencoding

This commit is contained in:
Allan Bowe
2021-06-08 16:59:43 +03:00
parent 8cc0eb0dd7
commit 506cf1812f
3 changed files with 4 additions and 4 deletions

View File

@@ -9041,7 +9041,7 @@ data _null_;
put '%local i tempds jsonengine; ';
put ' ';
put '/* see https://github.com/sasjs/core/issues/41 */ ';
put '%if %upcase(&SYSENCODING)=WLATIN1 %then %let jsonengine=PROCJSON; ';
put '%if "%upcase(&SYSENCODING)"="WLATIN1" %then %let jsonengine=PROCJSON; ';
put '%else %let jsonengine=DATASTEP; ';
put ' ';
put ' ';
@@ -12532,7 +12532,7 @@ run;
%local i tempds jsonengine;
/* see https://github.com/sasjs/core/issues/41 */
%if %upcase(&SYSENCODING)=WLATIN1 %then %let jsonengine=PROCJSON;
%if "%upcase(&SYSENCODING)"="WLATIN1" %then %let jsonengine=PROCJSON;
%else %let jsonengine=DATASTEP;