BBjTriggerData::setWriteBuffer

Description

In BBj 6.00 and higher, this method set the write buffer to be written to the disk.

Syntax

Return Value

Method

void

setWriteBuffer(byte[] data)

Parameters

Variable

Description

data

Write buffer to be written to disk.

Return Value

None.

Remarks

Use this option to make changes to the write buffer in a before-write-trigger before the actual write to disk occurs.

Example

rem 'A sample Stored Procedure program

rem 'Get the Trigger object from the BBj File System
td! = BBjAPI().getFileSystem().getTriggerData()

rem 'set Write Buffer
td!.setWriteBuffer("DONKEY")

See Also

BBjAPI

BBjTriggerData

ObjectVariables

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