setClobFromStringAtPosition()

The lobLib.setClobFromStringAtPosition() system function copies a string into the memory area referenced by a CLOB variable, starting at a specified position in the memory area.

Syntax

  lobLib.setClobFromStringAtPosition(
    clobVariable CLOB inOut,
    pos BIGINT in
    str STRING in)
clobVariable
The CLOB variable. Unlike lobLib.setClobFromString() this function does not accept a null value for this parameter. If this parameter has a null value, EGL throws a NullValueException.
pos
The character position in the value referenced by clobVariable. The first character in the CLOB variable is at position 1. If pos is less than 1 or greater than the length of the CLOB, EGL throws a RuntimeException.
str
The string to be copied.

Feedback