Net.Data Books

Administration and Programming Guide for OS/390

Invoking Net.Data using FunctionServlet

You can call this servlet from either a URL or an SSI in an HTML file, and with it you can invoke either a function, SQL statement, or stored procedure.

Syntax and Examples

Parameters

LANGENV
Specifies the Net.Data language environment that is called to process the function (for example, DTW_SQL or DTW_REXX).

FUNC
Specifies the name of the program that contains the function to be executed, or in the case of a stored procedure, the stored procedure name and parameter. For example, my_rexx, where my_rexx is the name of an executable REXX file. Use the parmn keyword to specify input parameters to the function.

SQL
Specifies an SQL statement or stored procedure name that accesses a database, for example, "select * from employee".

parmn
Specifies any additional parameters that the function requires.


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