BBjConfig::setClientCentric

Description

In BBj 4.0 and higher, this method sets the SETOPTS bit 8,$08$.

Syntax

Return Value

Method

void

setClientCentric(boolean client)

Parameters

Variable

Description

client

1 = Set SETOPTS 8, $08$

0 = Clear SETOPTS 4, $08$

Return Value

None.

Remarks

By setting SETOPTS bit 8,$08$, calls to ENV, INFO(4,*), and SCALLS act on the CLIENT instead of the Server.

Example

REM checking and setting the ClientCentric SETOPTS bit (Byte 8, $08$)

REM getConfig
mYCFG! = BBjAPI().getConfig()

REM setClientCentric true
myCFG!.setClientCentric(1)

REM check client Centric bit
PRINT myCFG!.isClientCentric()

See Also

BBjAPI

BBjConfig

BBjConfig::setClientCentric

SETOPTS Verb

See the BBj Object Diagram for an illustration of the relationship between BBj Objects.