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-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

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