Setting up the IMS Web Language Environment

To use the IMS Web language environment, you must complete the following steps:

  1. Install the IMS Web Runtime component on the Web server running Net.Data. For information about installing and using the IMS Web Runtime component, see IMS Web User's Guide:
    http://www.ibm.com/software/data/ims/about/imsweb/document/
    
  2. Create the transaction DLL.
    1. Generate the C++ code, makefile (DTWproj.mak), and Net.Data macros (DTWproj.d2w) files for your transaction with the IMS Web Studio tool.
    2. If you are running Net.Data on an operating system that is different than the operating system on which the IMS Web Studio tool is run, move the DLL source files to an IMS Web development machine for the target operating system. For example, if you run the IMS Web Studio tool on Windows NT and the target platform is AIX or OS/390, move the source for the transaction DLL to an IMS Web development machine running under AIX or OS/390, respectively.
    3. Build the executable form of the transaction DLL using the generated make file.
  3. Copy the transaction DLL file (DTWproj.dll) and the Net.Data macro (DTWproj.d2w) to your Web server.
    1. Place the macro in a directory from which Net.Data retrieves macros. (See MACRO_PATH for more information.)
    2. Place the transaction DLL or shared library in a directory from which the Web server retrieves DLLs or shared libraries.
  4. Use the link in the sample file that is generated by the IMS Web Studio tool, DTWproj.htm, to modify an HTML file in your Web server's HTML tree. You can then use the link to invoke Net.Data and display the input HTML form to invoke the IMS Web language environment. The IMS Web language environment then calls the IMS transaction DLL, which uses the services proved by the IMS Web Runtime DLLs to run the transaction and return its output to the Web browser.

    The IMS Web Runtime DLLs formulate and send a request message through IMS TOC to OTMA, which in turn causes the appropriate transaction to be queued. The output of the transaction is then returned by OTMA through IMS TOC to IMS Web. The transaction os then passed back through the IMS Web language environment to Net.Data for display on the Web browser.


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