BookmarkSubscribeRSS Feed
swayto
Fluorite | Level 6

Obs League Division Team Div123456

NationalWestAtlantaNW
AmericanEastBaltimoreAE
AmericanEastBostonAE
AmericanWestCaliforniaAW
AmericanWestChicagoAW
NationalEastChicagoNE

 

How do i get the value variable Div for observation that has variable Team=Boston?

1 REPLY 1
Reeza
Super User

https://video.sas.com/detail/video/4573016761001/filtering-a-sas-table-in-a-data-step?autoStart=true...


@swayto wrote:

Obs League Division Team Div123456

National West Atlanta NW
American East Baltimore AE
American East Boston AE
American West California AW
American West Chicago AW
National East Chicago NE

 

How do i get the value variable Div for observation that has variable Team=Boston?


 

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

Register now

Mastering the WHERE Clause in PROC SQL

SAS' Charu Shankar shares her PROC SQL expertise by showing you how to master the WHERE clause using real winter weather data.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 1 reply
  • 624 views
  • 0 likes
  • 2 in conversation