$LobReserve: Difference between revisions

From m204wiki
Jump to navigation Jump to search
m (Admin moved page $LOBRESERVE to $LobReserve without leaving a redirect: capitalization)
m (misc cleanup)
 
Line 1: Line 1:
<b>Function</b>
<p>
<p>The $LOBRESERVE function returns the number of bytes specified in the RESERVE n BYTES clause for a STORE or ADD statement of a BINARY-LARGE-OBJECT (BLOB) or a CHARACTER-LARGE-OBJECT (CLOB). A RESERVE n BYTES clause is used when the data being stored will be changed later to a value of n bytes. </p>
The <var>$LobReserve</var> function returns the number of bytes specified in the <code>RESERVE <i>n</i> BYTES</code> clause for a <var>Store</var> or <var>Add</var> statement of a <var>BINARY-LARGE-OBJECT</var> (<var>BLOB</var>) or a <var>CHARACTER-LARGE-OBJECT</var> (<var>CLOB</var>). A <code>RESERVE <i>n</i> BYTES</code> clause is used when the data being stored will be changed later to a value of <i>n</i> bytes. </p>
<p>The $LOBRESERVE function takes one argument that can be a field name or a field name variable (%%variable).</p>
<p>
<p class="code">$LOBRESERVE(Large-Object-fieldname | %%variable)
The <var>$LobReserve</var> function takes one argument that can be a field name or a field name variable (%%variable).</p>
<p>
<b>Syntax</b></p>
<p class="syntax">$LobReserve(<span class="term">Large-Object-fieldname</span> | <span class="term">%%variable</span>)
</p>
</p>
[[Category:SOUL $functions]]
[[Category:SOUL $functions]]

Latest revision as of 18:34, 12 July 2017

The $LobReserve function returns the number of bytes specified in the RESERVE n BYTES clause for a Store or Add statement of a BINARY-LARGE-OBJECT (BLOB) or a CHARACTER-LARGE-OBJECT (CLOB). A RESERVE n BYTES clause is used when the data being stored will be changed later to a value of n bytes.

The $LobReserve function takes one argument that can be a field name or a field name variable (%%variable).

Syntax

$LobReserve(Large-Object-fieldname | %%variable)