BBjCommandLineObject::getMessage

Description

In BBj 23 and higher, this method returns the default BBjSessionInfo message specified by the BBjCommandLineObject, or null() if none was specified.

Syntax

Return Value

Method

string

getMessage()

Parameters

None.

Return Value

Returns the BBjSessionInfo message specified by the BBjCommandLineObject.

Remarks

In BBj 23 and higher, this value can be specified from the command-line as –message=<message>.

Example

rem ' BBjCommandLineObject::getMessage Example

cmd! = bbjapi().getConfig().getCurrentCommandLineObject()
cmd!.setMessage("Processing payroll")
print cmd!.getMessage()

See Also

BBjAPI

BBjConfig

BBjAPI::newBBjSession

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