DATA Step, Macro, Functions and more

SAS View

Reply
Contributor
Posts: 30

SAS View

Can someone explain what does this mean with example ?

 

There is no way to qualify the data in a DATA step view before using it. Therefore, even if you need only part of the data in your SAS view, you must load into memory the entire DATA step view and discard everything that you do not need.

 

 

Thanks,

PROC Star
Posts: 7,363

Re: SAS View

[ Edited ]

I just found the section of the documentation you were referring to. They were describing difference between data step and sql views.

 

I would think that the comment would apply to both sql and data step but, honestly, I don't know.

 

Art, CEO, AnalystFinder.com

 

Respected Advisor
Posts: 4,651

Re: SAS View

Where conditions applied to SQL views can sometimes be processed as a part of the query. Where conditions applied to data step views are always processed after the whole dataset is generated (into memory). The same idea would apply, I guess, when requiring only a subset of the view variables. 

PG
Ask a Question
Discussion stats
  • 2 replies
  • 148 views
  • 0 likes
  • 3 in conversation