TERMSCRIPT

Description

Optionally specifies the name of a script to be executed when a session has terminated.

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

Format

TERMSCript scriptname

Usage

The script does not communicate with an application, so any parameters such as INPUT, WAITAPPL, OUTSCAN..., contained in it are ignored. This script is generally used to reset session options after termination of a session.

Scripts are generated using the SCRIPT statement described in the Panels, Scripts and Variables manual. The scriptname specified on the TERMSCRIPT parameter must appear on a SCRIPT statement.

See also STOPINH and STOP_INHERIT keywords.

Parent topic:

Related topics: