Previous Topic: RDCURSOR Return CodesNext Topic: RDSCREEN Return Codes


EPI RDSCREEN—Retrieve Virtual Terminal Screen

The EPI RDSCREEN command returns the entire virtual terminal screen as a set of output lines. The first output line is the operator information area, which is the status line at the bottom of the screen. The remaining lines are the screen contents starting with the top row. If trimming is on, trailing blanks are trimmed.

This command runs in AOF rules synchronously and returns data in the external data queue.

This command has the following format:

ADDRESS EPI "RDSCREEN keywords"
{termname|*}
termname

Defines the virtual terminal for which you want to retrieve the screen.

*

Retrieves the screen for the current terminal that is defined by the SETTERM command.

EPI RDSCREEN Sample Coding Statements

The following sample coding statement returns the screen image on virtual terminal TERM4:

RDSCREEN TERM4