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

 

Hello,

 

 I am new to programming and I have doubts that maybe it could be insignificant but are important for me to understand. I would like to ask what is the difference between a scope session and a global session, it will be fine if someone can give an example.

 

Thanks in advance.

Best regards,

Nelly de la.s Casas

1 ACCEPTED SOLUTION

Accepted Solutions
sbxkoenk
SAS Super FREQ

Hello,

 

It's not the CAS session itself that is session-scope or global scope, it's about the CAS tables created in that session.

 

Remember session-scope tables can only be seen by a single CAS session and are dropped from CAS when that session is terminated, while global-scope tables can be seen publicly and will not be dropped when the CAS session is terminated.

 

Tip and tricks to promote CAS tables from session-scope to global-scope
By Ryan Lolli on SAS Users October 26, 2017
https://blogs.sas.com/content/sgf/2017/10/26/tip-and-tricks-to-promote-cas-tables-from-session-scope...

 

BR, Koen

View solution in original post

2 REPLIES 2
sbxkoenk
SAS Super FREQ

Hello,

 

It's not the CAS session itself that is session-scope or global scope, it's about the CAS tables created in that session.

 

Remember session-scope tables can only be seen by a single CAS session and are dropped from CAS when that session is terminated, while global-scope tables can be seen publicly and will not be dropped when the CAS session is terminated.

 

Tip and tricks to promote CAS tables from session-scope to global-scope
By Ryan Lolli on SAS Users October 26, 2017
https://blogs.sas.com/content/sgf/2017/10/26/tip-and-tricks-to-promote-cas-tables-from-session-scope...

 

BR, Koen

Nellysas
Fluorite | Level 6
Thanks so much for your answer and for the link attached which helps me so much.

Best regards,
Nelly de las Casas.

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

LIBNAME 101

Follow along as SAS technical trainer Dominique Weatherspoon expertly answers all your questions about SAS Libraries.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 2 replies
  • 1325 views
  • 2 likes
  • 2 in conversation