Consultor Eletrônico



Kbase P6189: How to initialize the server side SmartDataObject (SDO) on t
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   02/02/2003
Status: Unverified

GOAL:

How to initialize the server side of the SDO on the AppServer?

FIX:

Use code similar to:

/* Connect to the AppServer using the default service */

CREATE SERVER appServer.
ok = appServer:CONNECT("-H myserver") .
IF ok AND NOT ERROR-STATUS:ERROR THEN
MESSAGE "Connected to the AppServer!" VIEW-AS ALERT-BOX.
ELSE DO:
MESSAGE "Error connecting to the AppServer" VIEW-AS ALERT-BOX.
RETURN.
END.

/* Start up the SDO and initialize it */

RUN CustSDO.w ON SERVER appServer persistent SET p.
RUN initializeObject IN p.