BBjStoredProcedureData::getDatabaseName

Description

In BBj 6.00 and higher, this method returns the name of the BBj database which called the stored procedure.

Syntax

Return Value Method
String getDatabaseName()

Parameters

None.

Return Value

Returns the name of the BBj database that called the stored procedure.

Example

rem 'A sample Stored Procedure program

sp! = BBjAPI().getFileSystem().getStoredProcedureData()

rem 'Get the name of the Database
dbName$ = sp!.getDatabaseName()

See Also

BBjAPI

Object Variables

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