$Buffer Size: Difference between revisions
Jump to navigation
Jump to search
(Automatically generated page update) |
No edit summary |
||
(3 intermediate revisions by 2 users not shown) | |||
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">$ | <p class="code">$Buffer_Size | ||
</p> | </p> | ||
<b>Where</b> | <b>Where</b> | ||
<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>$ | <th>$Buffer_Size returns...</th> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td>No Universal Buffer exists, because you used this function in a pre-V6R1.0 release, or the MQ/204 Interface is not linked in.</td> | <td>No Universal Buffer exists, because you used this function in a pre-V6R1.0 release, or the [[MQ/204_overview|MQ/204]] Interface is not linked in.</td> | ||
<td align="right">-1</td> | <td align="right">-1</td> | ||
</tr> | </tr> | ||
Line 26: | Line 26: | ||
</table> | </table> | ||
<b>Usage</b> | <b>Usage</b> | ||
<p>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.</p> | <p>The size of BUFFER may be explicitly set by a [[Images#MODIFY_BUFFER_statement|MODIFY BUFFER]] statement or increased implicitly by statements that place data into the Universal Buffer. The minimum buffer size is <var>[[UBUFSZ_parameter|UBUFSZ]]</var> value and the maximum is 2,147,483,647 bytes.</p> | ||
[[Category:SOUL $functions]] | [[Category:SOUL $functions]] |
Latest revision as of 15:37, 11 January 2018
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.