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