PROCWRITE Statement

Writes data to the Proc primary input buffer.

Syntax

PROCWRITE char-string

Syntax Elements

char-string is a field of characters expressed as a variable name or a literal enclosed in quotes that is written to the Proc primary input buffer.

Comments

If the program is not executed from a Proc, an error message is displayed.

This command is especially useful if attribute marks are used as delimiters in the Proc, because then the expression can be a dynamic array.

Example

BUF = "LIST":AM:FILE
PROCWRITE BUF

Writes dynamic array BUF to the Proc primary input buffer. If the program was not executed from a Proc, no operation takes place.