BBjStoredProcedureData::getParameter

Description

In BBj 6.00 and higher, this method returns the value of the specified parameter.

Syntax

Return Value Method
Object getParameter(String paramName)

Parameters

Parameter Description
paramName The parameter name.

Return Value

Returns the value of the parameter named paramName from the stored procedure.

Remarks

This method throws an !ERROR=17 (ARG_ERR) if paramName is not a valid parameter.

Example

rem 'A sample Stored Procedure program

rem 'Get a Stored Procedure object from the BBj File System
sp! = BBjAPI().getFileSystem().getStoredProcedureData()

rem 'Get the input parameter from the application
NAME$ = sp!.getParameter("NAME")

See Also

BBjAPI

Object Variables

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