PASTE

Description

Specifies the sequence of characters, or function or attention key or lightpen, which initiates a paste operation to paste data collected by a previous cut operation.

This common end-user parameter is applicable to these control statements: SYSTEM (see SYSTEM statement), PROFILE (see PROFILE statement), USER (see USER statement), and TERMINAL (see TERMINAL statement).

Format

PASTE escape NFILLP [Yes|No|ON|OFF] SPILLW [Yes|No|ON|OFF]

Default: PASTE *p NFILLP Yes

Usage and subparameters

escape, which must be delimited by a null or a space when issued, can be from one to eight characters long, PF1-PF24, PA1-3, ATTN, CLEAR or PEN. When escape is entered, the IBM Session Manager Paste panel is displayed.

By defining the Menu panel appropriately, using a defined input field (variable t_paste) the escape sequence can be modified dynamically. See the PANEL statement in the Panels, Scripts and Variables manual.

NFILLP [Yes|No|ON|OFF]

Specifies how nulls to the left of the paste area are treated. If Yes is specified, any nulls are converted to spaces. No or OFF causes no conversion to occur; pasted data moves to the left.

SPILLW [Yes|No|ON|OFF]

If this subparameter is specified, any spillage during a paste operation causes a message to be displayed in the paste panel, but the paste operation continues if possible. Spillage occurs when the data being pasted is larger than the paste area.

SPILLW=No suppresses the warning message, and the paste operation continues.

Note: The PASTE parameter is affected by parameters CMDACTIONKEY and COMMANDPRFXVAL (see CMDACTIONKEY and COMMANDPRFXVAL).

Parent topic:

Related topics: