BBjConfig::getConfigFileName

Description

In BBj 2.02 and higher, this method returns the name of the configuration file used by the current Interpreter session.

Syntax

Return Value

Method

string

getConfigFileName()

Parameters

None.

Return Value

Returns the name of the configuration file being used by the current Interpreter session.

Remarks

This method always returns a string that contains forward slashes as the file separator. Because BBj always accepts forward slashes as file separators, this string may be used in operations such as OPEN or SCALL.

Example

rem 'Demonstrate how to find name of current configuration file

print BBjApi().getConfig().getConfigFileName()

See Also

BBjAPI

BBjConfig

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