This section shows you how to invoke Net.Data by specifying a macro file. For the macro request style of invocation, you can call Net.Data using an HTML link, an HTML form, or a URL.
The following syntax statements show the different ways you can invoke Net.Data.
<A HREF="http://server/Net.Data_invocation_path/filename/block/ [?name=val&...]">any text</A>
<FORM METHOD=method ACTION="http://server/Net.Data_invocation_path/ filename/block/[?name=val&...]">any text</FORM>
http://server/Net.Data_invocation_path/filename/block/[?name=val&...]
Parameters:
Examples
The following examples demonstrate the different methods of invoking Net.Data.
Example 1: Invoking Net.Data using an HTML link:
<A HREF="http://MyServer/cgi-bin/db2www/myMacro.d2w/report"> . . . </A>
Example 2: Invoking Net.Data using a form
<FORM METHOD=POST ACTION="http://MyServer/cgi-bin/db2www/myMacro.d2w/report"> . . . </FORM>
Example 3: Invoking Net.Data macros in the qsys.lib file system, using an HTML link:
<A HREF="http://MyServer/cgi-bin/db2www/myMacro.mbr/report"> . . . </A>
Example 4: Invoking Net.Data macros in the qsys.lib file system, using a form:
<FORM METHOD=POST ACTION="http://MyServer/cgi-bin/db2www/ qsys.lib/mylib.lib/myfile.file/myMacro.mbr/report"> . . . </FORM>
| Note: | The URL must be one continuous string in your code, but it is split on two lines here for readability. |
The following sections describe HTML links and forms and more about how to invoke Net.Data with them: