BBjCommandLineObject::getProgramName

Description

In BBj 4.0 and higher, this method returns the BBj program name specified by the BBjCommandLineObject.

Syntax

Return Value

Method

string

getProgramName()

Parameters

None.

Return Value

Returns the returns the BBj program name specified by the BBjCommandLineObject.

Remarks

None.

Example

rem 'get and set programName

rem 'get CommandLine Object
myCMD! = BBjAPI().getConfig().getCurrentCommandLineObject()
myCmd!.setProgramName("ec")
PRINT myCMD!.getProgramName()

See Also

BBjAPI

BBjConfig

BBjAPI::newBBjSession

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