Asynchronous request

Prajan

New Member
Hi
I am trying to run an asynchronous request. I have a program say clien.p and the next server.p. The code i used is
RUN b/test.p ON s-hdl
ASYNCHRONOUS SET async-request
EVENT-PROCEDURE "GetCustNum"
(INPUT customer-name, OUTPUT customer-number AS INTEGER).

WAIT-FOR PROCEDURE-COMPLETE OF async-request.

The error i am getting is "Invalid widget-handle used in wait-for statemet. Wait-for terminated". This is the code i got from progress docs.

Could any body please help me for doing this?
Hoping to hear a reply.
 

RKR

Member
Hi
I am trying to run an asynchronous request. I have a program say clien.p and the next server.p. The code i used is
RUN b/test.p ON s-hdl
ASYNCHRONOUS SET async-request
EVENT-PROCEDURE "GetCustNum"
(INPUT customer-name, OUTPUT customer-number AS INTEGER).

WAIT-FOR PROCEDURE-COMPLETE OF async-request.

The error i am getting is "Invalid widget-handle used in wait-for statemet. Wait-for terminated". This is the code i got from progress docs.

Could any body please help me for doing this?
Hoping to hear a reply.

Does b/test.p exist and can it be found in the propath of the application server ?
 
Top