08-05-2014 07:14 AM
we are invoking stored process from java using StoredProcess2Interface . Currently we stream results from the stored process server.We are unable to stream results from workspace server.
But in the 9.3 version , the api says its possible to stream results from workspace server.
does any one has experience with streaming results from workspace server?
Any code samples will be greatly appreciated.
Thanks in Advance
08-11-2014 10:11 AM
i have no idea what you want to achieve, so i make some guesses.
HINT: it is always usefull to say what you want to accomplish and why!
I read the documentation this way: in SAS 9.3 if you have a STP V2 you can execute your STP on a SAS STP Server or a SAS Workspace Server (e.g. in SAS Enterprise Guide). This feature is new in SAS 9.3.
I guess when you want to execute your STP on a SAS Workspace Server you need to use the API for the Workspace Server? see: SAS(R) 9.3 Integration Technologies: Java Client Developer's Guide
Then there is the question why you need the streaming results? Usually a STP writes all content to the fileref _webout which is streamed back to the client. If you can manage to execute the STP on a Workspace Server you can simply download the content from this fileref in binary mode to your client and have the same result.