ENDSCRIPT

Description

Optionally specifies the name of a script to be passed to a selected application when the user issues the END command for the application, or when the system operator command, CLOSEDOWN END, is issued. This script is also passed when the user logs off from IBM Session Manager if LOGOFF END is specified for an active application.

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

ENDSCript scriptname

Usage

It would normally be the case that the final input from the script would issue the logoff for the application. If this is not the case, IBM Session Manager automatically issues a VTAM unconditional logoff or resets the logical device after the script has completed.

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

See also STOPINH and STOP_INHERIT keywords.

Parent topic:

Related topics: