IBM Books

Reference

DTW_DEFAULT_REPORT


AIX HP-UX Linux OS/2 OS/390 OS/400 SCO SUN Win NT
X X X X X X X X X

Purpose

Determines whether Net.Data generates a default report for functions that have no REPORT block. When this variable is set to YES, Net.Data generates the default report. When set to NO, Net.Data suppresses default report generation. Suppressing the default report is useful, for example, if you receive the results of a function call in a table variable and want to pass the results to a different function to process.

Specify the value of this variable using a DEFINE statement or with the @DTW_ASSIGN() function.

Values

DTW_DEFAULT_REPORT="YES"|"NO"|"MULTIPLE"

Table 3. DTW_DEFAULT_REPORT Values

Values Description
YES Net.Data generates the default report for functions without REPORT blocks and displays the results at the browser. YES is the default.
NO Net.Data discards the default report for functions without REPORT blocks.
MULTIPLE Net.Data generates default reports for result sets or output tables that are not assigned to a REPORT block, in functions with multiple REPORT blocks

Examples

Example 1: Overriding the default report generated by Net.Data

%DEFINE DTW_DEFAULT_REPORT="NO"


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]