BBjCommandLineObject::getConfigFile

Description

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

Syntax

Return Value

Method

string

getConfigFile()

Parameters

None.

Return Value

Returns the config file specified by the BBjCommandLineObject.

Remarks

In a traditional BBj SCALL, this is specified as –c<config file>.

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.