BBjStoredProcedureData::setReturn

Description

In BBj 6.00 and higher, this method sets the return value.

Syntax

Return Value Method
void setReturn(Object value)

Parameters

Parameter Description
value Return value.

Return Value

None.

Remarks

See Stored Procedures Case Study: Calling a Stored Procedure From a BBj Application for information about getting the result from the calling program.

Example

rem 'A sample Stored Procedure program

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

rem 'Set the return Value
sp!.setReturn("1")

See Also

BBjAPI

Object Variables

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