BBjCommandLineObject::setLoadOnly

Description

In BBj 4.0 and higher, this method sets whether the BBjCommandLineObject specifies set load only mode.

Syntax

Return Value

Method

void

setLoadOnly(boolean lo)

Parameters

Variable

Description

lo

0 = Load-only mode not specified.

1 = Load-only mode specified.

Return Value

None.

Remarks

In a traditional BBj SCALL, this is specified as –LO.

Example

rem 'get and set Load Only flag

rem 'get CommandLine Object
myCMD! = BBjAPI().getConfig().getCurrentCommandLineObject()
myCmd!.setLoadOnly(1)
PRINT myCMD!.isLoadOnly()

See Also

BBjAPI

BBjConfig

BBjAPI::newBBjSession

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