DTW_DEFAULT_REPORT

AIX HP-UX Linux OS/2 OS/390 OS/400 PTX 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.

For OS/390: Net.Data generates default reports for each result set or output table that is not assigned to a REPORT block.

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

For OS/390: MULTIPLE is not supported

Examples

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

%DEFINE DTW_DEFAULT_REPORT="NO"


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