Automation Engine Script Guide > Ordered by Function > Script Structure and Processing > :EXT_REPORT_ON

:EXT_REPORT_ON

Script statement: Activates the logging of a task's script.

Syntax

:EXT_REPORT_ON

Comments

Extended reports also include script reports which contain all the script lines of objects. As this report type is not created by default, it must be activated by the administrator in the variable "UC_CLIENT_SETTINGS" with the key "EXT_REPORTS". If this report should only be activated for individual objects, this can be done in their Header tabs.

Use the script statement :EXT_REPORT_OFF to exclude particular script lines or the whole script from being reported. Logging is then suppressed until the end of the script or the script statement :EXT_REPORT_ON.

 Note that Include contents are also logged unless the parameter EXT_REPORT=OFF has been used with them.

Example

In the example, logging is suppressed for a part of the script. 

:EXT_REPORT_OFF
:
INC JOCO2UC.SET.GLOBALS
:
PUT_ATT FT_SRC_FILE = "$&JOCO_USERID.&COB85_ERRLST_PREF_BS2.&PRGMNAME"
:
PUT_ATT FT_DST_FILE = "&PC_PATH\&PRGMNAME_ERRLST.TXT"   

:
EXT_REPORT_ON 

 

See also:

Script element Description

:EXT_REPORT_OFF

Deactivates the logging of a task's script.

Script Elements - Script Structure and Processing

About Scripts
Script Elements - Alphabetical Listing

Script Elements - Ordered by Function