BookmarkSubscribeRSS Feed
☑ This topic is solved. Need further help from the community? Please sign in and ask a new question.
YHelie1
Fluorite | Level 6

Hi,

 

Same question, but with SAS Viya 4:

 

Tired of browsing web info that leads no where, can someone tell me how do we set the Time Zone for the entire platform?

 

 

Thx.

1 ACCEPTED SOLUTION

Accepted Solutions
YHelie1
Fluorite | Level 6

Hi Greg,

 

Sounds good, but after digging a little more, I think the real issue does not require any changes in the SAS platform.

 

I applied the following to the Linux nodes:

 

1.- Verify the current time zone setting:

timedatectl

2.- Check the available list of time zones:

timedatectl list-timezones

3.- Change to New York TZ

timedatectl set-timezone America/New_York

 

Also, change the Locale settings to 24hr format:

1.- Verify the current locale setting:

localectl

2.- Check the available locale setting:

localectl list-locales

3.- Set 24 hrs

localectl set-locale LC_TIME=C.UTF-8

 

 

That works just fine.

 

View solution in original post

5 REPLIES 5
SASKiwi
PROC Star

If you are searching for SAS options, go to the online SAS doc (doc.sas.com), select Programming SAS Viya, select the search button, type in timezone and then search. Took me about 30 seconds to find the answer with the TIMEZONE system option.

YHelie1
Fluorite | Level 6

I don't see anything that sets an option for the entire platform?

 

The following System Options for SAS Viya mentions this:

 

For options that can be set either at start-up or in a SAS Compute Server session, these are the valid ways they can be set:

z.png

 

But provides nothing more. If it can be set with Environment Manager, then where?

 

 

 

 

SASKiwi
PROC Star

I'm not familiar with Viya 4, but to apply it globally across all Compute Server environments it can be done within each config level in:

/SAS/Config/Lev1/SASApp/appserver_autoexec_usermods.sas

gwootton
SAS Super FREQ
In Viya 4 the autoexec is a Configuration instance:

SAS Compute Server and Compute Service - Edit Configuration Instance
https://go.documentation.sas.com/doc/en/sasadmincdc/v_042/calsrvpgm/n00001viyaprgmsrvs00000admin.htm...
--
Greg Wootton | Principal Systems Technical Support Engineer
YHelie1
Fluorite | Level 6

Hi Greg,

 

Sounds good, but after digging a little more, I think the real issue does not require any changes in the SAS platform.

 

I applied the following to the Linux nodes:

 

1.- Verify the current time zone setting:

timedatectl

2.- Check the available list of time zones:

timedatectl list-timezones

3.- Change to New York TZ

timedatectl set-timezone America/New_York

 

Also, change the Locale settings to 24hr format:

1.- Verify the current locale setting:

localectl

2.- Check the available locale setting:

localectl list-locales

3.- Set 24 hrs

localectl set-locale LC_TIME=C.UTF-8

 

 

That works just fine.

 

suga badge.PNGThe SAS Users Group for Administrators (SUGA) is open to all SAS administrators and architects who install, update, manage or maintain a SAS deployment. 

Join SUGA 

Get Started with SAS Information Catalog in SAS Viya

SAS technical trainer Erin Winters shows you how to explore assets, create new data discovery agents, schedule data discovery agents, and much more.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 5 replies
  • 985 views
  • 4 likes
  • 3 in conversation