BBjCommandLineObject::setProgramName

Description

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

Syntax

Return Value

Method

void

setProgramName(string name)

Parameters

Variable

Description

name

The name of the BBj program.

Return Value

None.

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.