REC_SCR

Description

Record terminal emulation screens to disk.

The screens are written to the file Screen.trc in the log/trace directory. If the file does not yet exist, it is created. If the file does exist, the new screens are appended to it.

Screens are recorded until you issue the REC_SCR command again. Using a key combination, you can switch this mode on and off.

The default key combination depends on the type of session and the corresponding default key scheme.

Type of Session / Default Key Scheme Default Key Combination
TN3270 / SAGKEYS1 CTRL+S
BS2000 / BS2000KEYS CTRL+S
VTxxx / VT220PC ALT+S

Screens are only recorded in terminal emulation mode, or when a procedure file or API program is executed and the system variable DISPLAY is set to ON.

During terminal emulation, the character S is shown in column 79 of the status line when REC_SCR is active.

Syntax

REC_SCR

Procedure File Example

Recscr.ncp

Variables Returned

None

Related Commands

QA, REC_BUFF, REC_XFER

Usage

Procedure File: Yes
Command Line: No
Key: Yes
API: Yes