:INCLUDE

Use the :INCLUDE script statement to call an Include object from a different object. Whenever an object containing this script statement is activated, the script stored in the Include object is inserted.

Many objects require identical processing steps in their scripts. Include objects let you write reusable script blocks so you do not have to repeatedly write the same scripts. For more information, see Includes (JOBI).

Tips:

Syntax

:INC[LUDE] Include object [oldString = newString][,NOFOUND=IGNORE][,EXT_REPORT=OFF]

Parameters

Examples

The following statement calls an Include object called MM.FILEASSIGNMENTS.

:INC MM.FILEASSIGNMENTS

The following statement calls the same object and specifies a new name.

:INC MM.FILEASSIGNMENTS "$MM." = "$MMTEST."  

The following example calls a user Include. If the object is not found, no error occurs.

:INCLUDE HEADER.WINDOWS.USER.HEAD ,NOFOUND=IGNORE

The following example suppresses the logging of the contents of the Include object in the extended reports. 

:INC MM.FILEASSIGNMENTS ,EXT_REPORT=OFF

See also:

seealso

Reusing Script Components