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

:EXT_REPORT_OFF

Script Statement: Deactivates the logging of a taskAn executable object that is running. Tasks are also referred to as activities.'s scriptA particular Automation Engine object type.

Syntax

:EXT_REPORT_OFF

Comments

Extended reports also include script reports which contain all the script lines of objects. As this reportA report provides more detailed information about a task's execution or a component. type is not created by default, it must be activated by the administrator in the variableIt stores or retrieves values dynamically at runtime. An individual Automation Engine object type. 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 logged. Logging is then suppressed until the end of the script or the script statement :EXT_REPORT_ON.

In the Script tab of the extended reports, a comment line is given stating the number of script lines which were suppressed.

  **** EXT_REPORT_OFF_ON: 0005 lines suppressed ***

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_ON

Activates the logging of a task's script.

Script Elements - Script Structure and Processing

About Scripts
Script Elements - Alphabetical Listing

Script Elements - Ordered by Function

 


Automic Documentation - Tutorials - Automic Blog - Resources - Training & Services - Automic YouTube Channel - Download Center - Support

Copyright © 2016 Automic Software GmbH