Hello Angela,
Thanks for your input.
while waiting for a reply I changed the execution to the workspace server and the output to package
to follow the fix mentioned here
http://support.sas.com/kb/33/846.html in EG 4.2 the STP
executed without problems but in WRS it still showed : "The specified stored process does not produce package results. Only stored processes producing package results can be processed."!
I changed it back to the stored process server with streaming output and used your example,
pasting in my own code. The STP runs but there is an empty result html . Using stpbegin or not does not change it and
opening it in WRS still tells me that there is no package result (leading me to
http://support.sas.com/kb/33/846.html again).
Now, using the other example you posted, it actually gives a result in EG 4.2 but saving it again as a STP
and placing it in my web report gives the error ""The specified stored process does not produce package results. Only stored processes producing package results can be processed."!",
leading me again to
http://support.sas.com/kb/33/846.html.
If I select packaging as execution option I am at error "ERROR: Insufficient authorization to access /project/sas92config/dev/config/Lev1/SASApp/_webout.dat." then
http://support.sas.com/kb/17/316.html tells me I should set it to "streaming".
It seems I am running around in circles.
ods html body=_webout (no_bottom_matter) path=&_tmpcat (url=&_replay);
/* This is where SAS Procs can go to produce output to the website*/
data _null_;
put ' ';
put ' ';
put ' ';
put ' ';
put ' ';
put '
myLink ';
put ' ';
put ' ';
run;
/*Close the _webout location to allow the data _null_ step to write to it*/
ods html close;
/*This is where Data Null HTML Code can go*/
data _null_;
file _webout;
put '';
put '';
/** INSERT OTHER HTML CODE HERE **/
run;
/*Reopen the _webout location for SAS Procs to write to.*/ods html body=_webout (no_top_matter) path=&_tmpcat (url=&_replay);
/* This is where SAS Procs can go to produce output to the website*/
proc gchart data=sashelp.shoes;
vbar region/sumvar=sales;
quit;
/*Closes the web output location.*/
ods html close;
Bob
PS: Dear Forum Admin, I just noticed that the html code in this post actually generated a link. I dont think its great that this happens when posting code examples