Net.Data provides a number of language environments, although some
operating systems do not support all environments. Table 1 lists the IBM-supplied language environments. To
determine whether a language environment is supported on your operating
systems, see the operating system reference appendix of Net.Data
Reference. See your Net.Data README file or Program Directory for details
about the language environment statements your operating system uses.
Table 1. Net.Data Language Environments
| Language Environment | Environment Statement | Description |
|---|---|---|
| Flat File Interface | DTW_FILE | The flat file interface (FFI) provides functions that support text files as data sources. |
| IMS Web | HWS_LE | The IMS Web language environment lets you submit an IMS transaction using IMS Web and receive the output of the transaction at your Web browser. |
| Java Applet | DTW_APPLET | The Java applet language environment lets you use Java applets in your Net.Data applications. To generate an applet tag, you must provide the applet tag's qualifiers and the applet's parameter list. |
| Java Application | DTW_JAVAPPS | Net.Data supports your existing Java applications with the Java language environment. |
| ODBC | DTW_ODBC | The ODBC language environment executes SQL statements through an ODBC interface for access to multiple database management systems. |
| Oracle | DTW_ORA | The Oracle language environment lets you directly access your Oracle data. |
| Perl | DTW_PERL | The Perl language environment interprets internal Perl scripts that are specified in a FUNCTION block of the Net.Data macro, or it executes external Perl scripts stored in separate files. |
| REXX | DTW_REXX | The REXX language environment interprets internal REXX programs that are specified in a FUNCTION block of the Net.Data macro, or it can execute external REXX programs stored in a separate file. |
| SQL | DTW_SQL | The SQL language environment executes SQL statements through DB2. The results of the SQL statement can be returned in a table variable. |
| Sybase | DTW_SYB | The Sybase language environment lets you directly access your Sybase data. |
| System | DTW_SYSTEM |
The System language environment supports calls to external programs that
are identified in an EXEC statement in the FUNCTION block. The System
language environment interprets the EXEC statement by passing the program name
and its parameters to the operating system for execution.
|
| Web Registry | DTW_WEBREG |
The Web Registry language environment provides functions for the persistent
storage of application-related data.
|
Each language environment requires an ENVIRONMENT statement in the initialization file and a shared library or DLL file in the server's /lib or /dll directory. See the configuring chapter in Net.Data Administration and Programming Guide for more information.
Recommendation: Make a backup of your initialization file before making changes.