Remove REXX Buffer (RMVREXBUF)

Where allowed to run: All environments (*ALL)
Threadsafe: No
Parameters
Examples
Error messages

The Remove REXX Buffer (RMVREXBUF) command removes one or more buffers from the REXX external data queue.

Top

Parameters

Keyword Description Choices Notes
BUFFER Buffer Decimal number, *CURRENT, *ALL Optional, Positional 1
Top

Buffer (BUFFER)

Specifies the number of the buffer to remove. The buffer identified by the number and all buffers added after it, are removed.

The possible values are:

*CURRENT
Only the current buffer is removed.
*ALL
All buffers and entries are removed from the REXX external data queue. This is equivalent to specifying BUFFER(0).
variable-name
Specify a variable name. In a control language (CL) program, a decimal variable with a minimum length of 11 digits and no decimal positions must be specified.
buffer-number
Specify the number of the buffer to remove.
Top

Examples

RMVREXBUF   BUFFER(2)

This command removes buffer number 2 and all buffers with numbers higher than 2 from the REXX external data queue.

Top

Error messages

*ESCAPE Messages

CPF7CF7
REXX external data queue is damaged.
Top