BBjTriggerData::setWriteBuffer

 

Description

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

Syntax

Return Value

Method

void

setWriteBuffer(String p_data)

Parameters

Variable

Description

p_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.