:EXT_REPORT_OFF
The :EXT_REPORT_OFF script statement allows you to handle the contents of extended script reports. You can use :EXT_REPORT_OFF to exclude particular scripting lines or a complete script from being logged. Logging is then suppressed until the script has ended or until you use the :EXT_REPORT_ON script statement.
Notes:
- Extended script reports are not created by default. The administrator must activate them in the UC_CLIENT_SETTINGS variable with the EXT_REPORTS key. If you want to activate this report only for individual objects, you can do so in the Extended Reports section of the relevant object's General page.
- For Include objects that are called with the :INCLUDE script statement, you can suppress the creation of extended reports with the :EXT_REPORT_OFF script statement. The content of the Include is not logged. A comment is added to the extended report instead. For more information, see :INCLUDE.
- Script lines between :EXT_REPORT_OFF and :EXT_REPORT_ON are not logged, which also affects the contents of Include objects that are called in the suppressed script lines. A comment line is added to the extended report, indicating the number of suppressed script lines.
Syntax
:EXT_REPORT_OFF
Example
The following example suppresses the logging of 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: