Hi:
You really need to contact Tech Support for help. The reason is that EG, when you use the Stored Process Wizard, uses a special set of macro calls to %STPBEGIN and %STPEND in order to do all the setup for the client applications.
Sometimes, you can use STPSRV_HEADER with %STPBEGIN and then sometimes you have to switch to an alternative to %STPBEGIN and write to _WEBOUT directly. I do not know which scenario your stored process will fall into. And, even if you CAN get it working, I do not know whether the output will be what you want.
When I was working on the stored process course a while back, I tested the creation of an ASCII text file and although I could make the browser launch Notepad to open my results, the Notepad default font of Arial was used and my output looked nothing like I expected it to look. At that point, I didn't even bother to save my code.
Some previous examples of using STPSRV_HEADER have been posted to the forum.
http://support.sas.com/forums/thread.jspa?messageID=6638᧮
http://support.sas.com/forums/thread.jspa?messageID=3244ಬ
Even so, I highly recommend that you contact Tech Support for further help. This is not a trivial bit of code and if the output does NOT look the way you want, then you will need more help from Tech Support to get that piece working.
cynthia