BBjCommandLineObject::setConfigFile

Description

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

Syntax

Return Value

Method

void

setConfigFile(string name)

Parameters

Variable

Description

name

Specifies the location of the config file.

Return Value

None.

Remarks

In a traditional BBj SCALL, it is specified as –c<configFileLocation>.

Example

rem 'get and set configFile

rem 'get CommandLine Object
myCMD! = BBjAPI().getConfig().getCurrentCommandLineObject()
PRINT myCMD!.getConfigFile()
myCmd!.setConfigFile("C:/basis/bin/config.bbx")

See Also

BBjAPI

BBjConfig

BBjAPI::newBBjSession

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