BBjCommandLineObject::setApplicationName

Description

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

Syntax

Return Value

Method

void

setApplicationName(string appname)

Parameters

Variable

Description

appname

Specifies the application name.

Return Value

None.

Remarks

In a traditional BBj SCALL, this is specified as –a<appname>.

Example

rem 'get and set ApplicationName

rem 'get CommandLine Object
myCMD! = BBjAPI().getConfig().getCurrentCommandLineObject()
myCmd!.setApplicationName("app1")
PRINT myCMD!.getApplicationName()

See Also

BBjAPI

BBjConfig

BBjAPI::newBBjSession

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