BookmarkSubscribeRSS Feed
sar
Calcite | Level 5 sar
Calcite | Level 5

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

1 REPLY 1
AndreasMenrath
Pyrite | Level 9

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

SAS Innovate 2025: Save the Date

 SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!

Save the date!

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 1 reply
  • 1199 views
  • 0 likes
  • 2 in conversation