I just noticed that the STP, executed as STP, does not create the views in the WORK library in the first place. It does, however, do it when I execute the code as a program in EG4.2. I wonder why that is...
In WRS the error reads "unable to find physical table"
A short STP that I and you can use for testing works fine i.e. it shows the output put here as well, the WORK library on the sas application server\libraries is empty. Is there a second work library on somewhere? If so, how do I use it to reference to in sas app server views?
--Executed on the workspace server
--shows html results in EG4.2 albeit error
--ERROR: No logical assign for filename _WEBOUT.
--WARNING: No body file. HTML output will not be created.
%STPBEGIN
*ProcessBody;
proc sql;
create view work.viewthatdoesnotappear as select * from sashelp.class;
quit;
/**/
*ods html file="
\myfile.html";
proc print data=WORK.viewthatdoesnotappear;
var Sex;
run;
%STPEND
A view, registered in the metadata that now selects from
work.viewthatdoesnotappear will fail.