SET REFRESH command (full-screen mode)

Controls screen refreshing. This command is only valid when in full-screen mode, that is the SET SCREEN setting is ON. The initial setting for REFRESH is OFF.

Read syntax diagramSkip visual syntax diagramSETREFRESHONOFF;
ON
Clears the screen before each rewrite. This is a required setting if your application handles line mode I/O.
OFF
Rewrites without clear.

Usage note

SET REFRESH ON is needed for applications that also make use of the screen; for example, applications using ISPF services to display panels.

Example

Specify that rewrites only occur on those portions of the screen that have changed. The screen is not cleared before being rewritten.
SET REFRESH OFF;