sorry, I forgot to mention that I'm using the SASStoredProcess web application.
Anyway, your suggestion doesn't work for me.
According to the documentation at
http://support.sas.com/rnd/itech/doc9/dev_guide/stprocess/reserved.html I changed your example to
%let _odsoptions=(title="My Report");
%stpbegin;
proc print data=sashelp.class;
title 'The SAS Title';
run;
%put _all_;
%stpend;
but it failes with
3 +%let _odsoptions=(title="My Report");
4 +%stpbegin;
ERROR 22-322: Syntax error, expecting one of the following: ;, ANCHOR, ARCHIVE, ATTRIBUTES, BASE, BODY, CHARSET, CLOSE, CODE, CONTENTS, CSS, ENCODING, FILE, FRAME, GFOOTNOTE, GPATH, GTITLE,
HEADTEXT, METATEXT, NEWFILE, NOGFOOTNOTE, NOGTITLE, PAGE, PARAMETERS, PATH, RECORD_SEPARATOR, STYLE, STYLESHEET, TEXT, TRANTAB.
ERROR 202-322: The option or parameter is not recognized and will be ignored.
4 (title="My Report")
_
22
_____
202
5 +proc print data=sashelp.class;
6 + title 'The SAS Title';
7 +run;
I guess this happens, because title is not an independent option but a sub-option of the body option - is this correct?
Thanks,
Frank