BookmarkSubscribeRSS Feed

eHi All,

I have a stored process being called through SPWA that I have started testing with international users.  v9.3.

First test revealed that when a user from Germany runs it, some of the log messages are in German:

proc sgrender data=me template="mytemplate";

NOTE: Die Antialias-Option für Marker und Linien wurde deaktiviert, da der Schwellenwert 
      erreicht wurde. Verwenden Sie die Option LABELMAX=900 in der ODS 
      GRAPHICS-Anweisung, um die Option zu reaktivieren.
NOTE: There were 860 observations read from the data set WORK.ME.
NOTE: PROCEDURE SGRENDER used (Total process time):
      real time           0.57 seconds
      cpu time            0.26 seconds

So assume that means that some part of the header from the user's submission told the SAS server that the user's language preference was German (I don't think we would have this defined in the BI metadata, but I suppose that is a possibility as well.)

  And then, at least for SGRENDER, it decided to honor that and wrote the note about antialiasing in German.  All other notes in my example are in English.

Obviously I can avoid the note.

But is there a way for me to tell SAS to print all log messages in English?

Also as this is my first foray into thinking through having international users, would be interested for suggestions of any other lessons learned (or good papers).      I know there is a lot that can be done to "internationalize" code so that it will be happy running on different servers around the world, with various regional settings.  But in this case, the code itself is always running on one server.  So I wasn't anticipating hitting issues (at least not *this* issue : ) when only the user in another country.



Check out the Boston Area SAS Users Group (BASUG) video archives:
Rhodochrosite | Level 12

I think you can force all messages to English by specifying English as the first language in the list of languages supported by your Web browser.

Vince DelGobbo



Thanks Vince,

Was hoping to do this on the SAS server side.  That is, even if an international user has their browser set with their own language preference, was hoping I could still tell the SAS session (in an autoexec/config/whatever) that all log messages should be written in English.  Because the log messges are for the developer (who doesn't speak German), not the end user, in this case.


Check out the Boston Area SAS Users Group (BASUG) video archives:



Registration is open! SAS is returning to Vegas for an AI and analytics experience like no other! Whether you're an executive, manager, end user or SAS partner, SAS Innovate is designed for everyone on your team. Register for just $495 by 12/31/2023.

If you are interested in speaking, there is still time to submit a session idea. More details are posted on the website. 

Register now!

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

Get the $99 certification deal.jpg



Back in the Classroom!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 2 replies
  • 2 in conversation