Hi:
You might want to work with Tech Support. There used to be some issues with EG and orientation for PDF, as explained in this Tech Support note:
http://support.sas.com/kb/4/781.html
I am not sure why your code has the FILENAME statement
and the overrides to _ODSDEST and the other reserved macro variables. Also, I don't think you really need to set _RESULT. And, I'm curious about why you would even set a parameter like _RESULT with a prompt. I would have expected to see something like this for your SP code:
[pre]
*ProcesBody;
%let _ODSDEST = PDF;
%let _ODSSTYLE = printer;
%let _odsoptions = NOTOC;
options orientation=landscape papersize=legal;
%stpbegin;
ODS NOPTITLE;
proc tabulate data=sashelp.prdsale f=comma6.;
class country region division product;
var actual predict;
table country*region all,
division*product*actual*(sum n);
run;
%stpend;
[/pre]
When I ran the above code, AS A STORED PROCESS, in EG 4.3, I got landscape results returned to my EG session (using the Workspace server). I turned off the PDF bookmarks with NOTOC, in order to verify that the returned results were landscape mode.
That's why I'd recommend working with Tech Support. Your code does not look like it has been fully converted to a stored process and your reserved macro variables do not seem to be set correctly.
cynthia