INITSCRIPT

Description

Optionally specifies the name of an 'initialization' script to be executed before a session is started.

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

INITSCript scriptname

Usage

The script does not communicate with the application, so any parameters contained in it (such as INPUT, WAITAPPL, OUTSCAN, and so on) are ignored. This type of script is generally used to modify session options before the session begins.

The INITSC command enables a suitably authorized user to disable or (re-)enable the running of the session 'initialization' script. For details, see 'INITSC user command' in the Technical Reference manual.

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

See also STOPINH and STOP_INHERIT keywords.

Parent topic:

Related topics: