Kbase P20618: How to run a remote persistent procedure using the ON SERVER
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  10/30/2003 |
|
Status: Verified
GOAL:
How to run a remote persistent procedure using the ON SERVER and PERSISTENT SET handle-variable options.
FIX:
DEFINE VARIABLE hAppSrv AS HANDLE NO-UNDO.
DEFINE VARIABLE hOrder AS HANDLE NO-UNDO.
CREATE SERVER hAppSrv.
hAppSrv:CONNECT(...).
.
.
.
RUN order.p PERSISTENT SET hOrder
ON SERVER hAppSrv TRANSACTION DISTINCT