I have never tried to code STP(Stored Process) from scratch, so I can't really comment on your code part. From my base programmer background, it is easier to write the code part in EG program editor first, then convert it into STP. The following is my test code on ODS Excel, after converting to STP, it works (honestly I never thought it woundn't)
FILENAME OT "/share/test/test_%SYSFUNC(TODAY(),DATE9.).XLSX";
ODS EXCEL FILE = OT ;
PROC PRINT DATA=SASHELP.CLASS;
RUN;
ODS GRAPHICS OFF;
ODS EXCEL CLOSE;
I tried to run the above STP from numerous Apps (STP web app, Web report studio, information delivery portal, EG etc), it all seems normal to me.
... View more