BookmarkSubscribeRSS Feed
blitzp
Calcite | Level 5

We have a Java program that performs several of STP programs and stores the results in the SAS session.

Now we would like to access the results via a web browser as a PDF, but the SAS STP is getting the message out

that the SAS session was not created with the same client.

Is there a way to get the same SAS-Session with Different Clients.

Thanks

3 REPLIES 3
LinusH
Tourmaline | Level 20

Please provide some more information on your java program - what does it do? How is it executed?

And what kind of result are we talking about?

Do you wish to access the result via a web server/SAS portal...?

Data never sleeps
blitzp
Calcite | Level 5

We call on the StoredProcesses in Java via HttpClient and get back as Resutl XML. The XML is then processed using JAXB and displayed on a thin client. Since not the entire result directly processed, the result is placed in the SAS session.

For printing a PDF is used that is generated over a StoredProcess.
So far, this is passed to the thin client. However, the server would not weigh too much with the big pdfs we like to show this in the browser. But in Brower always get the message, the session was not created from the same client.

The issue is there are single sign on with Session for different clients

LinusH
Tourmaline | Level 20

I lack of experience when it comes o using Java clients this way, I guess that you can't streamline the PDF the same way as the XML?

Also, I think it's hard for you to connect to a existing StP session with other client than original way - check with tech support if you want to confirm this.

Other options could be to store the the PDF in a suitable location, and link from the client.

Or store the result in a shared location (not SAS Work), which a separate StP can access.

Data never sleeps

SAS INNOVATE 2024

Innovate_SAS_Blue.png

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. 

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.

Get the $99 certification deal.jpg

 

 

Back in the Classroom!

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

View all other training opportunities.

Discussion stats
  • 3 replies
  • 773 views
  • 0 likes
  • 2 in conversation