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

Catch up on SAS Innovate 2026

Nearly 200 sessions are now available on demand with the SAS Innovate Digital Pass.

Explore 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
  • 4448 views
  • 0 likes
  • 2 in conversation