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.