1
0
mirror of https://github.com/sasjs/core.git synced 2025-12-15 16:14:36 +00:00

feat: adding sysencoding to SASJS and SAS9 server types

Not added for mv_webout (viya) as that is always UTF-8.  Closes #263
This commit is contained in:
Allan Bowe
2022-06-25 13:11:14 +00:00
parent 8a4e32cc27
commit e31cdeef42
5 changed files with 8 additions and 0 deletions

View File

@@ -444,6 +444,7 @@ data _null_;
put ' put ",""_DEBUG"" : ""&_debug"" "; ';
put ' put '',"_PROGRAM" : '' _PROGRAM ; ';
put ' put ",""SYSCC"" : ""&syscc"" "; ';
put ' put ",""SYSENCODING"" : ""&sysencoding"" "; ';
put ' syserrortext=quote(cats(symget(''SYSERRORTEXT''))); ';
put ' put '',"SYSERRORTEXT" : '' syserrortext; ';
put ' SYSHOSTINFOLONG=quote(trim(symget(''SYSHOSTINFOLONG''))); ';

View File

@@ -153,6 +153,7 @@
put ",""_DEBUG"" : ""&_debug"" ";
put ',"_PROGRAM" : ' _PROGRAM ;
put ",""SYSCC"" : ""&syscc"" ";
put ",""SYSENCODING"" : ""&sysencoding"" ";
syserrortext=quote(cats(symget('SYSERRORTEXT')));
put ',"SYSERRORTEXT" : ' syserrortext;
SYSHOSTINFOLONG=quote(trim(symget('SYSHOSTINFOLONG')));