Your SAS programs, embedded in web apps and elsewhere

executing a StoredProcess asynchronously on a WebApplication

Reply
N/A
Posts: 0

executing a StoredProcess asynchronously on a WebApplication

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
SAS Super FREQ
Posts: 304

Re: executing a StoredProcess asynchronously on a WebApplication

Posted in reply to deleted_user
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
Ask a Question
Discussion stats
  • 1 reply
  • 210 views
  • 0 likes
  • 2 in conversation