BookmarkSubscribeRSS Feed
yabwon
Onyx | Level 15

This is a recording from 10th meetup of Polish SAS Users Group (#PolSUG No. 10)

 

https://www.youtube.com/watch?v=LgOdTufPtKw

 

The meeting took place on Wednesday, June 23rd 2021.

 

Our guest was Quentin McMullen@Quentin ).

 

His talk: "A Close Look at How DOSUBL Handles Macro Variable Scope" can be described as follows:

"The macro variable scoping rules of the SAS macro language are complex, and well-documented. The DOSUBL function, introduced in SAS 9.3M2, adds an additional layer of complexity to these scoping rules, as the macro programmer needs to understand how code executing in the DOSUBL side-session will create or update macro variables, and what impact this will have on macro variables stored in the main session symbol tables. Unfortunately, the current SAS documentation does not provide a clear definition of the DOSUBL scoping rules. This presentation presents a series of test cases designed to illustrate DOSUBL’s handling of macro variable scopes. The intended audience is experienced macro programmers interested in learning how DOSUBL manages macro variable scopes."

 

Details are available in Quentin's SAS Global Forum 2020 article: https://www.sas.com/content/dam/SAS/s...

 

@AllanBowe @RichardDeVen @rogerjdeangelis @hashman @DonH @mkeintz @PeterClemmensen @novinosrin @ChrisNZ @Kurt_Bremser @data_null__ 

 

---

#PolSUG #SAS #meetup #hobby #PolishSASUsersGroup #10

WWW: http://www.polsug.com

Forum: http://communities.sas.com/polsug

Wall: https://www.linkedin.com/groups/8675451/

 

_______________
Polish SAS Users Group: www.polsug.com and communities.sas.com/polsug

"SAS Packages: the way to share" at SGF2020 Proceedings (the latest version), GitHub Repository, and YouTube Video.
Hands-on-Workshop: "Share your code with SAS Packages"
"My First SAS Package: A How-To" at SGF2021 Proceedings

SAS Ballot Ideas: one: SPF in SAS, two, and three
SAS Documentation



3 REPLIES 3
Quentin
Super User

Thanks for sharing the recording, @yabwon .  I really enjoyed presenting to #PolSUG!

BASUG is hosting free webinars Next up: Don Henderson presenting on using hash functions (not hash tables!) to segment data on June 12. Register now at the Boston Area SAS Users Group event page: https://www.basug.org/events.
DonH
Lapis Lazuli | Level 10
Thx for posting this. Am just back from a trip so I will check it out later.

In the meantime, DOSUBL came into being because Rick Langston thought it would be a good idea to allow the mark up text processed by PROC STREAM to include embedded SAS code.

PROC STREAM came into existence when Rick agreed to build a better solution for my DATA Step hack for “SAS Server Pages.”

He and I had many long conversations about the complications of how to bring results (e.g., macro variables) back from the secondary/side SAS session.

And, my apologies, if any of what I just said is included in Quentin’s presentation.

sas-innovate-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

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

View all other training opportunities.

Discussion stats
  • 3 replies
  • 548 views
  • 10 likes
  • 4 in conversation