
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
Copy
BBjCommandLineObject::getMessage Example
cmd! = bbjapi().getConfig().getCurrentCommandLineObject()
cmd!.setMessage("Processing payroll")
print cmd!.getMessage()
See Also
See the BBj Object Diagram for an illustration of the relationship between BBj Objects.