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-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
  • 977 views
  • 1 like
  • 2 in conversation