BBjAppConfig::setTerminal

Description

In BBj 12.0 and higher, this method sets this application's terminal alias.

Syntax

Return Value

Method

void

setTerminal(string alias)

Parameters

Variable

Description

alias

The terminal alias (e.g. T2).

Return Values

None.

Remarks

The specified terminal type must be configured as a MINI console (e.g.: ALIAS T0 MINI).

Example

rem ' BBjAppConfig::setTerminal

rem ' For BUI, this must be a MINI console alias:
rem ' ALIAS T0 MINI
admin! = bbjapi().getAdmin("admin","admin123")
appServer! = admin!.getWebAppServer()
appConfig! = appServer!.makeEmptyAppConfig()
appConfig!.setTerminal("T0")
print "setTerminal: ",appConfig!.getTerminal()

See Also

BBjAPI

BBjAppConfig

BBjAppConfig::getTerminal

BBjAppServer

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