AIX | HP-UX | Linux | OS/2 | OS/390 | OS/400 | PTX | SUN | Win NT |
X | X | X | X | X | X | X | X | X |
Purpose
Displays results in an HTML table instead of displaying the table in a text-type format (that is, using the TABLE tags rather than the PRE tags). This variable has no effect on the output of an XML block.
The generated TABLE tag includes a border and cell-padding specification:
<table border cellpadding=2>
Specify the value of this variable using a DEFINE statement or with the @DTW_ASSIGN() function.
Values
DTW_HTML_TABLE="YES"|"NO"
Table 4. DTW_HTML_TABLE Values
Values | Description |
---|---|
YES | Displays table data using HTML table tags. |
NO | Displays table data in a text format, using PRE tags. NO is the default. |
Examples
Example 1: Displays results from an SQL function with HTML tags
%DEFINE DTW_HTML_TABLE="YES" %FUNCTION(DTW_SQL){ SELECT NAME, ADDRESS FROM $(qTable) %}