AIX | HP-UX | Linux | OS/2 | OS/390 | OS/400 | PTX | SUN | Win NT |
X | X | X | X | X | X | X | X | X |
Purpose
Prints out the contents of a Net.Data table using the HTML <pre> tag, where each row of the table is displayed on one line.
Format
@DTW_TB_DUMPH(table)
Parameters
Table 130. DTW_TB_DUMPH Parameters
Data Type | Parameter | Use | Description |
---|---|---|---|
table | table | IN | A symbol specifying the macro table variable to display. |
Return Codes
Table 131. DTW_DB_DUMPH Return Codes
Return Code | Explanation |
---|---|
-1001 | The server could not process a Net.Data request to allocate memory. |
1001 | An input parameter contained a NULL value. |
1003 | An incorrect number of parameters were passed on a function call. |
1004 | A parameter passed on a function call, required to be a Net.Data macro table variable, was of a different variable type. |
1007 | A parameter contains a value which is not valid. |
Usage Notes
If the Net.Data table is empty, an error is returned.
Examples
Example 1:
@DTW_TB_DUMPH(Mytable)
The HTML generated by this example looks like this:
<pre> Name Department Position Jack Smith Internet Technologies Software Engineer Helen Williams Database Development Manager Alex Jones Manufacturing Industrial Engineer Tom Baker Procurement Sales Rep </pre>