These days i've been validating a macro which we use in the SAS-Web-application to publish a result-package (result.zip) to the clients e-mail adress, with a STP. In a nutshell it retrieves the e-mail adress of the client, takes everything out of a special result folder, zip's it and publishes the package with a few notes in the e-mail to the client.
I wrote the following minimalistic STP code to validate the macro (represented by Test2).
Defaultly i activated the result capabilities Stream and Package (because we do both in normal STP's).
When executing the STP in our Web-application i got following error message:
Stored Process Error The SAS program did not produce any output.
That makes sense, because i don't have a %stp_begin and %stp_end in my STP, which is for my understanding the implemented standard-way to stream a result. When i just click the Result capability Package, i get following erorr:
Eventough i create a package, and publish it via e-mail to my client (and it works). So finally my Qestion is:
1. Why do i get this error message?
2. Is there a standard-SAS-method to create packages and publish them per e-mail?
Registration is open! SAS is returning to Vegas for an AI and analytics experience like no other! Whether you're an executive, manager, end user or SAS partner, SAS Innovate is designed for everyone on your team. Register for just $495 by 12/31/2023.
If you are interested in speaking, there is still time to submit a session idea. More details are posted on the website.