The OPENBUF command opens an internal host message stream buffer for a specified automated asynchronous session and redirects the session's incoming messages to the buffer. The REXX program that opened the buffer can then read the messages from the buffer and act upon each message.
Note: Message stream buffering is useful for interpreting command responses from the asynchronous host console, especially those generating multiple screens of output.
This command has the following format:
"OPENBUF SESSION(sessname) [WAIT(waittime)]"
Specifies the session (sessname) for which you want to create the message stream buffer. It must be an automated asynchronous session.
(Optional) Specifies the number of seconds (waittime) -from 0 to 100000-that the OPENBUF command waits if another REXX program currently owns the buffer for the specified session.
If the waittime value expires before the OPENBUF command executes, it generates a return code of 3.
Default: 0
Usage Notes:
Keep the following items in mind when using the OPENBUF command:
|
Copyright © 2011 CA.
All rights reserved.
|
|