Your SAS programs, embedded in web apps and elsewhere

streaming results from workspace server

Reply
sar
N/A
Posts: 1

streaming results from workspace server

Hi ,

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.

com.sas.services.storedprocess (SAS Foundation Services)

does any one has experience with streaming results from workspace server?

Any code samples will be greatly appreciated.

Thanks in Advance

Frequent Contributor
Posts: 119

Re: streaming results from workspace server

Hi,

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.

Kind Regards,

Andreas

Ask a Question
Discussion stats
  • 1 reply
  • 428 views
  • 0 likes
  • 2 in conversation