:INC_SCRIPT

Use the :INC_SCRIPT statement to call a scriptEgalement un type d'objet distinct dans l'Automation Engine. from a Process page on another Process page within the same object.

Syntax

:INC_SCRIPT (Script ID)

Syntax

Description/Format

Script ID

Number that identifies the script to call
Format: Number without quotations

Allowed values:

Comments

This script statement was originally implemented to let you call a script in the header, for example to handle special z/OS requirements with Job Control Language"Acronyme de ""Job Control Language"". Il s'agit d'instructions qui forment les étapes de traitement et sont exécutées sur les machines." (JCL). In that context, the script sets attributes which are requested in the Header, such as another host. However, you can use this script statement more generally when you want to call a script on one Process page from another, even repeatedly.

Tip: You can call an IncludeScript utilisé souvent et dans de nombreux objets. Egalement un type d'objet distinct dans l'Automation Engine. object from another object if you want to insert script lines from the Include object. For more information, see :INCLUDE.

Example

The Pre Process page of a job contains a DIR command. The following script on the Process page calls the script on the Pre Process page:

:INC_SCRIPT (1)

After execution, the job report shows that the DIR command was executed twice: first in the Header (defined on the Pre Process page), and then between the Header and Trailer (by the script on the Process page).

See also:

Script element Description

:INCLUDE

This integrates an Include object into a script

Script Elements - Script Structure and Processing

About Scripts
Script Elements - Alphabetical Listing

Script-Elements - Ordered by Function