BookmarkSubscribeRSS Feed
deleted_user
Not applicable
hello.
Im a developer From Japan.

I want to execute a StoredProcess asynchronously on a WebApplication which is developed WebSphere Studio v5.1.
Alreday I'v got to execute StoredProcess normaly from Java sevlet. so, next problem is excecuting that asynchronously.
if you know, tell me URLlinks which explain this case, or your original advice.

thanks in advance.

Miya
1 REPLY 1
Vince_SAS
Rhodochrosite | Level 12
The execute method of com.sas.services.storedprocess.StoredProcessInterface has a flag to specify whether or not execution is synchronous or asynchronous.

I don't know if this meets your needs, but if you are using the SAS Stored Process Web Application, specifying _ACTION=background will cause the stored process to execute asynchronously. Documentation for the SAS Stored Process Web Application is at
http://support.sas.com/rnd/itech/doc9/dev_guide/stprocess/stpwebapp.html
http://support.sas.com/rnd/itech/doc9/dev_guide/stprocess/reserved.html#_action

You can use this Web application within a JSP page with code something like this (not tested):



Vince
SAS R&D

sas-innovate-white.png

Missed SAS Innovate in Orlando?

Catch the best of SAS Innovate 2025 — anytime, anywhere. Stream powerful keynotes, real-world demos, and game-changing insights from the world’s leading data and AI minds.

 

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.

SAS Training: Just a Click Away

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

Browse our catalog!

Discussion stats
  • 1 reply
  • 1618 views
  • 1 like
  • 2 in conversation