Dear all, I am using Enterprise 5.1. I am trying to use "proc sql" and "create view" in a macro to create 100 views that I want to use later in my program one by one. But, althouth It is written everywhere that the advantage of views is that they do no contain data and execute only when called, my program actually creates the 100 files when I call this code: %do %while .... proc sql; create view as dsNb&nb as select .....; quit; If I use the noexec option, then when I call the view later on, I do not get back the correct data set but the last data set without the noexec. Do someone knonw how to prevent SAS to create the data sets corresponding to the views as I run my macro ? Thanks in advance for any help, Thierry
... View more