$Buffer Size: Difference between revisions

From m204wiki
Jump to navigation Jump to search
m (Mlarocca moved page $BUFFER SIZE to $Buffer Size: Lower case change)
No edit summary
Line 3: Line 3:
<p>Returns the current size of the user's Universal Buffer. </p>
<p>Returns the current size of the user's Universal Buffer. </p>
<b>Syntax</b>
<b>Syntax</b>
<p class="code">$BUFFER_SIZE
<p class="code">$Buffer_Size
</p>
</p>
<b>Where</b>
<b>Where</b>
<p>$BUFFER_SIZE takes no arguments and returns a numeric result. </p>
<p>$Buffer_Size takes no arguments and returns a numeric result. </p>
<table>
<table>
<tr class="head">
<tr class="head">
<th>If... </th>
<th>If... </th>
<th>$BUFFER_SIZE returns...</th>
<th>$Buffer_Size returns...</th>
</tr>
</tr>
<tr>
<tr>

Revision as of 13:29, 14 July 2014

Function

Returns the current size of the user's Universal Buffer.

Syntax

$Buffer_Size

Where

$Buffer_Size takes no arguments and returns a numeric result.

If... $Buffer_Size returns...
No Universal Buffer exists, because you used this function in a pre-V6R1.0 release, or the MQ/204 Interface is not linked in. -1
No Universal Buffer or MQ/204 operations by this user since logon 0
This user has used the Universal Buffer The number of bytes used

Usage

The size of BUFFER may be explicitly set by a MODIFY BUFFER statement or increased implicitly by statements that place data into the Universal Buffer. The minimum buffer size is UBUFSZ value and the maximum is 2,147,483,647 bytes.