BBjStoredProcedureData::setReturn

Description

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

Syntax

Return Value

Method

void

setReturn(Object result)

Parameters

Variable

Description

result

Return value.

Return Values

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

BBjStoredProcedureData

ObjectVariables

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