The procwrite statement writes a string expression variable to the calling Proc’s primary input buffer.
procwrite var
var | Specifies the string expression variable to write to the calling Proc’s primary input buffer. |
In order for a Proc to interact with the information in the variable, each space in the variable defines a new parameter in the Proc’s input buffer.
This Proc checks the primary input buffer to see if it has been altered by the program this.program.
pq hrun bp this.program p if a1 = abort x
This program writes to the controlling Proc’s primary input buffer.
buffer = start.date:" ":end.date procwrite buffer