1
0
mirror of https://github.com/sasjs/core.git synced 2026-01-17 13:30: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 '%local i tempds jsonengine; ';
put ' '; put ' ';
put '/* see https://github.com/sasjs/core/issues/41 */ '; 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 '%else %let jsonengine=DATASTEP; ';
put ' '; put ' ';
put ' '; put ' ';
@@ -12532,7 +12532,7 @@ run;
%local i tempds jsonengine; %local i tempds jsonengine;
/* see https://github.com/sasjs/core/issues/41 */ /* 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; %else %let jsonengine=DATASTEP;

View File

@@ -269,7 +269,7 @@ data _null_;
put '%local i tempds jsonengine; '; put '%local i tempds jsonengine; ';
put ' '; put ' ';
put '/* see https://github.com/sasjs/core/issues/41 */ '; 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 '%else %let jsonengine=DATASTEP; ';
put ' '; put ' ';
put ' '; put ' ';

View File

@@ -39,7 +39,7 @@
%local i tempds jsonengine; %local i tempds jsonengine;
/* see https://github.com/sasjs/core/issues/41 */ /* 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; %else %let jsonengine=DATASTEP;