PREVIOUS

Description

Defines the sequence of characters, or the function or attention key or lightpen, which causes IBM Session Manager to transfer control back to the previous active session for a Menu panel.

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

PREVIOUS escape

Default: None.

Usage

The 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.

To transfer control back to the original active session, issue escape again; that is, use escape repeatedly to 'toggle' between the current active session and the previous active session.

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

Note: See also BACKWARD, which transfers control backwards through the active applications, and FORWARD, which transfers control forwards through the active applications.

Parent topic:

Related topics: