BookmarkSubscribeRSS Feed
deleted_user
Not applicable
Hi,

A colleague has generated the above error using Enterprise Guide. We're not entirely sure what it means, let alone how to fix it. Can anyone explain what 'scope' means in this context and therefore what might have caused the error?

It's a filter and query node joining several datasets together as a number of left outer joins onto a main dataset. The column name in question exists in other datasets in the query but the error specifies it by TABLE.COLUMN so it knows which one we're looking at. The node contains no calculations, the only changes made to the data are a few column renames e.g. the column in the error is being given an alias in the output of NAME2 (from NAME) to distinguish it from other columns originall with the same name.

Thanks, Chris
1 REPLY 1
LinusH
Tourmaline | Level 20
It is probably some column name overlapping somewhere in the query.
It would help if you could share the generated SQL.

/Linus
Data never sleeps

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

Creating Custom Steps in SAS Studio

Check out this tutorial series to learn how to build your own steps in SAS Studio.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

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