BBjCommandLineObject::setTerminal

Description

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

Syntax

Return Value

Method

void

setTerminal(string term)

Parameters

Variable

Description

term

The terminal alias.

Return Value

None.

Remarks

In a traditional BBj SCALL, this is specified as –t<terminal alias>.

Example

rem 'get and set Terminal

rem 'get CommandLine Object
myCMD! = BBjAPI().getConfig().getCurrentCommandLineObject()
myCmd!.setTerminal("T2")
PRINT myCMD!.getTerminal()

See Also

BBjAPI

BBjConfig

BBjAPI::newBBjSession

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