Remove REXX Buffer (RMVREXBUF)

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

Parameters

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

Buffer (BUFFER)

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

*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.

Examples

RMVREXBUF   BUFFER(2)

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

Error messages

*ESCAPE Messages

CPF7CF7
REXX external data queue is damaged.