aop_setpar

aop_setpar sets properties.

retState = aop_setpar(envId, nvSeq, cl)

Return Value

retState.

Parameters

envId

envId is the environment Id, returned by aop_openenv.

nvSeq

nvSeq is a sequence (array) of name-valMap pairs. The following names are defined:

Parameter

Used for

“USER”

Sets Username and Password

“WILDCARD_ONE”

wildcard-character for one characer (e. g. “?”)

“WILDCARD_ALL”

wildcard-chararcer for one or more characters (e. g. “*”)

“WILDCARD_ESC”

Escape character (e. g. “\”)

cl

cl is the client pointer, returned by rpc_clnt_create.

Example

valMap = [. dtyp=ODS_DT_STRING, val=["<username>", "<password>"] ];
nvSeq = [. n = 1];
nvSeq[1] = [. name = "USER", valMap = valMap];
retState = aop_setpar(envId, nvSeq, cl);
if (type(retState) == "error") {
    MessageBoxError(retState.message);
}

History

Version

Description

5.0.0

New

id-1541830