When called by a procedure, writes to the input buffer.
Following the write operation, PROCWRITE
resets the primary input buffer pointer so that it points to the beginning of the data in the buffer.
For a PQ PROC, PROCWRITE
converts each blank space in data
to an @AM delimiter, reversing the PROCREAD
converts each elements that consists of a backslash (\) to an empty element, reversing the PROCREAD
operation. Because of this backslash conversion, a backslash literal transferred by PROCREAD
will be transferred back by PROCWRITE
as an empty element. For this reason, backslashes in the input buffer should be avoided. This PROCWRITE
conversion only applies to backslashes that represent empty elements (a backslash delimited by blank spaces). If a backslash is appended to other characters, PROCWRITE
treats it as a quote delimiter.