The Net.Data language environments use the dtw_execute() interface
to receive and process parameters. The dtw_execute() interface uses the dtw_lei_t structure, which Net.Data creates to communicate with the language environment. Use the
following recommendations for input parameter processing, when writing your
language environment.
- Specify any implicit parameters in the ENVIRONMENT statement for the
language environment, in the Net.Data initialization file.
Net.Data passes the parameters specified there on all function calls to
the language environment after it passes the parameters specified by the macro
writer on the FUNCTION block being executed.
- Receive input parameters to the dtw_execute() interface as part of the
dtw_lei_t structure. The macro writer determines the order that
Net.Data passes the parameters when specifying them in the FUNCTION
block definition of the Net.Data macro.
The processInputParms() routine in the program template, in Appendix B, Language Environment Template shows one method of processing input parameters.
[ Top of Page | Previous Page | Next Page | Index ]