$Buffer Size

From m204wiki
Jump to navigation Jump to search

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.