IBM Books

Reference

DTW_TB_DUMPH


AIX HP-UX Linux OS/2 OS/390 OS/400 SCO 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 128. DTW_TB_DUMPH Parameters

Data Type Parameter Use Description
table table IN A symbol specifying the macro table variable to display.

Return Codes

Table 129. 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 The number of parameters passed on a function call either exceeded the maximum number allowed, or was less than the minimum number required by the function.
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>


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