Progress
ADM 2 Reference


batchServices (data.p)

Groups a sequence of SmartDataObject service requests into a single request and thereby minimizes network messaging and improves performance.

Parameters:

INPUT pcServices AS CHARACTER

A CHR(1)-delimited list of SmartDataObject internal procedures and functions to be executed. Each entry consists of a CHR(2)-delimited list of INPUT PARAMETER values with the first entry being the NAME of the procedure or function to be executed.

OUTPUT pcValues AS CHARACTER

A CHR(1)-delimited list of CHR(2)-delimited strings of output values that result from the execution of the services listed in pcServices (above). There is a one-to-one correspondence between the CHR(1)-delimited list of Services in pcServices (above) and the CHR(1)-delimited list in pcValues. Procedures with no output parameters have a NULL entry. The return values of functions appear as the first entry of the corresponding CHR(2)-delimited list, followed by any output parameters.

Returns: Nothing (procedure)

Notes: As shipped, batchServices supports only a limited list of services. This list consists of all getand set functions that do not require processing other than getting and setting the property in the ADMProps temp-table record as well as columnProps, initializeObject, openQuery, and synchronizeProperties. The list of cases will be extended from release to release. Developers can extend the list by overriding batchServices with a local version that has an extended list then running SUPER.


Copyright © 2004 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095